Change benchmark table header (#6265)
* Change benchmark table header to prevent misconceptions that we measure the CPU ops counter. * Preserve unit for average iteration duration.
This commit is contained in:
parent
30cc5c8db5
commit
a489ff8b60
2 changed files with 2 additions and 2 deletions
|
|
@ -443,4 +443,4 @@ int main() {
|
|||
// Print results
|
||||
RZ_BENCH_TABLE_PRINT_AND_FREE(t);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ RZ_API void rz_bench_report(RZ_NONNULL RzBenchCtx *ctx, RZ_NONNULL RzTable *t);
|
|||
* \param T table to initialize.
|
||||
*/
|
||||
#define RZ_BENCH_TABLE_INIT(T) \
|
||||
rz_table_set_columnsf(T, "snnnn", "Benchmark", "Iterations", "Total time [ms]", "Average time [us/op]", "Throughput [ops/sec]");
|
||||
rz_table_set_columnsf(T, "snnnn", "Benchmark", "Iterations", "Total time [ms]", "Avg iter time [us/iteration]", "Throughput [iterations/sec]");
|
||||
|
||||
/**
|
||||
* \brief Prints microbenchmark results and frees the RzTable \p T. Should be called at end of a benchmark suite.
|
||||
|
|
|
|||
Loading…
Reference in a new issue