Changeset b412168 in mainline for uspace/app/nettest1/nettest1.c
- Timestamp:
- 2014-11-17T03:25:04Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6069061
- Parents:
- ef3da5a (diff), 5042706 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nettest1/nettest1.c
ref3da5a rb412168 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.