Changeset 871cff9a in mainline for uspace/app/hbench/hbench.h
- Timestamp:
- 2019-01-21T18:01:59Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3fea752
- Parents:
- 2d81880
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/hbench/hbench.h
r2d81880 r871cff9a 42 42 #include <perf.h> 43 43 44 #define DEFAULT_RUN_COUNT 10 45 #define DEFAULT_MIN_RUN_DURATION_SEC 10 46 44 47 /** Single run information. 45 48 * … … 60 63 /** Benchmark environment configuration. 61 64 * 62 * Use proper access functions when modifying data inside this structure. 65 * Benchmarking code (runners) should use access functions to read 66 * data from this structure (now only bench_env_param_get). 67 * 68 * Harness can access it directly. 63 69 */ 64 70 typedef struct { 65 71 hash_table_t parameters; 72 size_t run_count; 73 nsec_t minimal_run_duration_nanos; 66 74 } bench_env_t; 67 75
Note:
See TracChangeset
for help on using the changeset viewer.