mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Update the ratio display in benchmark
In bench.h, specify the ratio as the time consumption ratio and modify the display of the ratio.
This commit is contained in:
parent
481bbfc990
commit
14ad8205bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue