Changes in uspace/app/nettest1/nettest1.c [26de91a:1ab8539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest1.c
r26de91a r1ab8539 402 402 403 403 struct timeval time_before; 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 } 404 gettimeofday(&time_before, NULL); 409 405 410 406 nettest1_test(socket_ids, 1, 1); … … 414 410 415 411 struct timeval time_after; 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 } 412 gettimeofday(&time_after, NULL); 421 413 422 414 printf("Tested in %ld microseconds\n", tv_sub(&time_after,
Note:
See TracChangeset
for help on using the changeset viewer.