summaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-10-24 16:00:03 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-11-30 05:00:21 -0800
commitbd3b14dd05b0b7fadf26363cd1424a3e22f7be6a (patch)
treed4bf14327f9fb4d3dc0e8a75a0de06cd3a7957b4 /modules/benchmark.c
parent5c32c60b3b4bb92fbfd5dd8c465c1f38f063660a (diff)
add hardinfo param for maximum number of benchmark results to include
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c2
1 files changed, 1 insertions, 1 deletions
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;