diff options
Diffstat (limited to 'benchmark.c')
-rw-r--r-- | benchmark.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/benchmark.c b/benchmark.c index 8bbfe11a..e31d6b34 100644 --- a/benchmark.c +++ b/benchmark.c @@ -1,6 +1,6 @@ /* * HardInfo - Displays System Information - * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org> + * Copyright (C) 2003-2009 Leandro A. F. Pereira <leandro@hardinfo.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -236,8 +236,8 @@ gchar *callback_fft() gchar *callback_nqueens() { - return benchmark_include_results_reverse(bench_results[BENCHMARK_NQUEENS], - "CPU N-Queens"); + return benchmark_include_results(bench_results[BENCHMARK_NQUEENS], + "CPU N-Queens"); } gchar *callback_raytr() @@ -255,7 +255,7 @@ gchar *callback_bfsh() gchar *callback_cryptohash() { return benchmark_include_results_reverse(bench_results[BENCHMARK_CRYPTOHASH], - "CPU Cryptohash"); + "CPU CryptoHash"); } gchar *callback_fib() @@ -320,6 +320,7 @@ const gchar *hi_note_func(gint entry) case BENCHMARK_CRYPTOHASH: return "Results in MiB/second. Higher is better."; + case BENCHMARK_FFT: case BENCHMARK_RAYTRACE: case BENCHMARK_BLOWFISH: case BENCHMARK_FIB: @@ -397,12 +398,12 @@ void hi_module_init(void) { static SyncEntry se[] = { { - .fancy_name = "Send Benchmark Results", + .fancy_name = "Send benchmark results", .name = "SendBenchmarkResults", .save_to = NULL, .get_data = get_benchmark_results}, { - .fancy_name = "Receive Benchmark Results", + .fancy_name = "Receive benchmark results", .name = "RecvBenchmarkResults", .save_to = "benchmark.conf", .get_data = NULL} |