diff options
author | Burt P <pburt0@gmail.com> | 2017-08-15 12:02:06 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-21 05:47:00 -0700 |
commit | f85e67ca2f75b939d85de2a92be11214f62ea7ef (patch) | |
tree | 314406ee81a16e20f80e2232732b45d68d96310b /modules | |
parent | 431d86000fb1491ca15eeab6f9bd027c6a75f477 (diff) |
Don't include benchmark result that was canceled
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c index 45f74ecd..2159fffb 100644 --- a/modules/benchmark.c +++ b/modules/benchmark.c @@ -231,7 +231,7 @@ static gchar *__benchmark_include_results(gdouble result, moreinfo_del_with_prefix("BENCH"); - if (result != 0.0) { + if (result > 0.0) { temp = module_call_method("devices::getProcessorCount"); n_threads = temp ? atoi(temp) : 1; g_free(temp); temp = NULL; |