Changeset 077842c in mainline for kernel/test
- Timestamp:
- 2018-09-07T15:46:41Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e9d2905
- Parents:
- 78de83de
- Location:
- kernel/test
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/falloc2.c
r78de83de r077842c 131 131 132 132 while (atomic_get(&thread_count) > 0) { 133 TPRINTF("Threads left: % " PRIua "\n",133 TPRINTF("Threads left: %zu\n", 134 134 atomic_get(&thread_count)); 135 135 thread_sleep(1); -
kernel/test/synch/semaphore1.c
r78de83de r077842c 88 88 producers = (4 - i) * PRODUCERS; 89 89 90 TPRINTF("Creating % " PRIua " consumers and %" PRIua "producers...",90 TPRINTF("Creating %zu consumers and %zu producers...", 91 91 consumers, producers); 92 92 … … 116 116 117 117 while ((items_consumed.count != consumers) || (items_produced.count != producers)) { 118 TPRINTF("% " PRIua " consumers remaining, %" PRIua "producers remaining\n",118 TPRINTF("%zu consumers remaining, %zu producers remaining\n", 119 119 consumers - items_consumed.count, producers - items_produced.count); 120 120 thread_sleep(1); -
kernel/test/synch/workq-test-core.h
r78de83de r077842c 191 191 for (int i = 0; i < WAVES; ++i) { 192 192 if (atomic_get(&call_cnt[i]) == exp_call_cnt) { 193 TPRINTF("Ok: % " PRIua "calls in wave %d, as expected.\n",193 TPRINTF("Ok: %zu calls in wave %d, as expected.\n", 194 194 atomic_get(&call_cnt[i]), i); 195 195 } else { 196 196 success = false; 197 TPRINTF("Error: % " PRIua "calls in wave %d, but %zu expected.\n",197 TPRINTF("Error: %zu calls in wave %d, but %zu expected.\n", 198 198 atomic_get(&call_cnt[i]), i, exp_call_cnt); 199 199 } -
kernel/test/thread/thread1.c
r78de83de r077842c 77 77 atomic_set(&finish, 0); 78 78 while (atomic_get(&threads_finished) < total) { 79 TPRINTF("Threads left: % " PRIua "\n", total - atomic_get(&threads_finished));79 TPRINTF("Threads left: %zu\n", total - atomic_get(&threads_finished)); 80 80 thread_sleep(1); 81 81 }
Note:
See TracChangeset
for help on using the changeset viewer.