diff options
author | Burt P <pburt0@gmail.com> | 2018-10-21 00:42:31 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2018-11-04 15:02:46 -0800 |
commit | d5d0607e4da1bde37fc0072c65689d2ed0775ed1 (patch) | |
tree | e0dfccc2a6e965870c9409e77e7bdfe4a8c5668a /modules/benchmark/bench_results.c | |
parent | f6299d9fad21c065d1e4c0f1093770835fb73adf (diff) |
benchmark/blowfish: new version of blowfish benchmark
The new version uses a fixed time and provides variants for
single-thread, multi-thread, and multi-core.
A few results are included.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/benchmark/bench_results.c')
-rw-r--r-- | modules/benchmark/bench_results.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/benchmark/bench_results.c b/modules/benchmark/bench_results.c index 92790edb..4f7b35db 100644 --- a/modules/benchmark/bench_results.c +++ b/modules/benchmark/bench_results.c @@ -377,6 +377,7 @@ static char *bench_result_more_info_less(bench_result *b) { char *ret = g_strdup_printf("[%s]\n" /* threads */ "%s=%d\n" + /* elapsed */ "%s=%0.4f %s\n" /* legacy */ "%s=%s\n" "[%s]\n" /* board */ "%s=%s\n" @@ -389,6 +390,7 @@ static char *bench_result_more_info_less(bench_result *b) { /* mem */ "%s=%s\n", _("Benchmark Result"), _("Threads"), b->bvalue.threads_used, + _("Elapsed Time"), b->bvalue.elapsed_time, _("seconds"), b->legacy ? _("Note") : "#Note", b->legacy ? _("This result is from an old version of HardInfo. Results might not be comparable to current version. Some details are missing.") : "", _("Machine"), @@ -410,7 +412,7 @@ static char *bench_result_more_info_complete(bench_result *b) { /* bench name */"%s=%s\n" /* threads */ "%s=%d\n" /* result */ "%s=%0.2f\n" - /* elapsed */ "%s=%0.2f\n" + /* elapsed */ "%s=%0.4f %s\n" /* legacy */ "%s=%s\n" "[%s]\n" /* board */ "%s=%s\n" @@ -428,7 +430,7 @@ static char *bench_result_more_info_complete(bench_result *b) { _("Benchmark"), b->name, _("Threads"), b->bvalue.threads_used, _("Result"), b->bvalue.result, - _("Elapsed Time"), b->bvalue.elapsed_time, + _("Elapsed Time"), b->bvalue.elapsed_time, _("seconds"), b->legacy ? _("Note") : "#Note", b->legacy ? _("This result is from an old version of HardInfo. Results might not be comparable to current version. Some details are missing.") : "", _("Machine"), |