From b5b0935814832a19d856bd2a90f395681f408213 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sat, 25 Mar 2023 15:39:55 +0100 Subject: Small fix --- source/kit_test/bench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') 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); -- cgit v1.2.3