Changes in uspace/app/tester/ipc/ping_pong.c [1ab8539:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/ipc/ping_pong.c
r1ab8539 r9d58539 43 43 44 44 struct timeval start; 45 gettimeofday(&start, NULL); 45 if (gettimeofday(&start, NULL) != 0) { 46 TPRINTF("\n"); 47 return "Failed getting the time"; 48 } 46 49 47 50 uint64_t count = 0; 48 51 while (true) { 49 52 struct timeval now; 50 gettimeofday(&now, NULL); 53 if (gettimeofday(&now, NULL) != 0) { 54 TPRINTF("\n"); 55 return "Failed getting the time"; 56 } 51 57 52 58 if (tv_sub(&now, &start) >= DURATION_SECS * 1000000L)
Note:
See TracChangeset
for help on using the changeset viewer.