aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-12-18 21:38:10 -0600
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-02-27 07:41:51 -0800
commit45bf74abab1b665143acbcd3d44e05793dd1b32d (patch)
treeb1c0fdbc2fe5f7623c6b4d8a22c79948203c3103 /includes/hardinfo.h
parentc8785521f39c3a86454ade890018ca021272c621 (diff)
Add cli param to format result for -b
For running benchmarks from the command line, add a new param to specify the output format: -g "conf" gives a line suitable for benchmark.conf -g "shell" gives the complete "moreinfo" shell data -g "short" (or nothing) gives the bench_value string as before Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r--includes/hardinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index f42f1e6c..637aa1fd 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -55,6 +55,7 @@ struct _ProgramParameters {
gchar **use_modules;
gchar *run_benchmark;
+ gchar *result_format;
gchar *path_lib;
gchar *path_data;
gchar *argv0;