Changes in uspace/app/nettest1/nettest1.c [1ab8539:26de91a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest1.c
r1ab8539 r26de91a 402 402 403 403 struct timeval time_before; 404 gettimeofday(&time_before, NULL); 404 rc = gettimeofday(&time_before, NULL); 405 if (rc != EOK) { 406 fprintf(stderr, "Get time of day error %d\n", rc); 407 return rc; 408 } 405 409 406 410 nettest1_test(socket_ids, 1, 1); … … 410 414 411 415 struct timeval time_after; 412 gettimeofday(&time_after, NULL); 416 rc = gettimeofday(&time_after, NULL); 417 if (rc != EOK) { 418 fprintf(stderr, "Get time of day error %d\n", rc); 419 return rc; 420 } 413 421 414 422 printf("Tested in %ld microseconds\n", tv_sub(&time_after,
Note:
See TracChangeset
for help on using the changeset viewer.