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