diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-03-25 15:39:55 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-03-25 15:39:55 +0100 |
commit | b5b0935814832a19d856bd2a90f395681f408213 (patch) | |
tree | 76b6beffb9394a5df15a29c94d69a03116bf8109 | |
parent | d521b4f86e81c2628c22316c38698a1dd9a1ee86 (diff) | |
download | kit-b5b0935814832a19d856bd2a90f395681f408213.zip |
Small fix
-rw-r--r-- | source/kit_test/bench.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/kit_test/bench.c b/source/kit_test/bench.c index 13dfb78..b7de35f 100644 --- a/source/kit_test/bench.c +++ b/source/kit_test/bench.c @@ -260,10 +260,10 @@ int kit_run_benchmarks(int argc, char **argv) { int64_t const average = kit_benchs_list.benchs[i].duration_nsec[repeats / 2]; int64_t const floor = - kit_benchs_list.benchs[i].duration_nsec[repeats / 10]; + kit_benchs_list.benchs[i].duration_nsec[repeats / 20]; int64_t const roof = kit_benchs_list.benchs[i] - .duration_nsec[repeats - repeats / 10 - 1]; + .duration_nsec[repeats - repeats / 20 - 1]; no_color || print_color(white); printf("%-8lld", (long long) floor); |