aboutsummaryrefslogtreecommitdiff
path: root/benchmark.c
diff options
context:
space:
mode:
authorAgney Lopes Roth Ferraz <agney@debian.org>2009-09-24 15:13:54 -0300
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:49 -0500
commit0bd39c5982a7776caae412f93f9dd2abf0b3eaea (patch)
tree0fdf3718ea01d3aa834e850c983c65edce14a583 /benchmark.c
parent1b6665085f47e0a86e4bebd5e313a2ab63600eb4 (diff)
parent7c47b5b9584f5011aeba18d7e1b26b3d3124825f (diff)
Import Debian changes 0.5.1-1
hardinfo (0.5.1-1) unstable; urgency=low * New upstream version. (Closes: #530290, #517591)
Diffstat (limited to 'benchmark.c')
-rw-r--r--benchmark.c13
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}