diff options
author | guangli-dai <gdai@fb.com> | 2022-11-03 18:27:03 -0700 |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2022-11-21 11:14:05 -0800 |
commit | 14ad8205bf0e23cdc1698f65c4d307753726a6a3 (patch) | |
tree | a9a66b687bae7409e17384c0f037cb31e62cc4ec | |
parent | 481bbfc9906e7744716677edd49d0d6c22556a1a (diff) | |
download | jemalloc-14ad8205bf0e23cdc1698f65c4d307753726a6a3.tar.gz |
Update the ratio display in benchmark
In bench.h, specify the ratio as the time consumption ratio and
modify the display of the ratio.
-rw-r--r-- | test/include/test/bench.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/include/test/bench.h b/test/include/test/bench.h index 0397c948..c2f78a71 100644 --- a/test/include/test/bench.h +++ b/test/include/test/bench.h @@ -53,7 +53,7 @@ compare_funcs(uint64_t nwarmup, uint64_t niter, const char *name_a, timer_ratio(&timer_a, &timer_b, ratio_buf, sizeof(ratio_buf)); malloc_printf("%"FMTu64" iterations, %s=%"FMTu64"us (%s ns/iter), " - "%s=%"FMTu64"us (%s ns/iter), ratio=1:%s\n", + "%s=%"FMTu64"us (%s ns/iter), time consumption ratio=%s:1\n", niter, name_a, usec_a, buf_a, name_b, usec_b, buf_b, ratio_buf); dallocx(p, 0); |