Changeset c7de81b in mainline
- Timestamp:
- 2018-12-28T13:53:23Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d5caf79
- Parents:
- 3bd74758
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/perf/perf.c
r3bd74758 rc7de81b 64 64 workload_size, duration_usec); 65 65 if (duration_usec > 0) { 66 double cycles = workload_size * 1000 * 1000 / duration_usec; 67 printf(", %.0f cycles/s.\n", cycles); 66 double nanos = stopwatch_get_nanos(stopwatch); 67 double thruput = (double) workload_size / (nanos / 1000000000.0l); 68 printf(", %.0f cycles/s.\n", thruput); 68 69 } else { 69 70 printf(".\n");
Note:
See TracChangeset
for help on using the changeset viewer.