From bd3b14dd05b0b7fadf26363cd1424a3e22f7be6a Mon Sep 17 00:00:00 2001 From: Burt P Date: Wed, 24 Oct 2018 16:00:03 -0500 Subject: add hardinfo param for maximum number of benchmark results to include Signed-off-by: Burt P --- modules/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/benchmark.c b/modules/benchmark.c index 9cc7e0b8..1a72e983 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -349,7 +349,7 @@ static gchar *__benchmark_include_results(bench_value r, GKeyFile *conf; gchar **machines; gchar *path, *results = g_strdup(""); - int i, len, loc, win_min, win_max, win_size = 10; + int i, len, loc, win_min, win_max, win_size = params.max_bench_results; GSList *result_list = NULL, *li = NULL; -- cgit v1.2.3