diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-30 15:08:41 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-30 15:08:41 +0000 |
commit | f1415df22f9a7ea8f207049e1f9d48b44014d557 (patch) | |
tree | 04837098852ac53c40233d5aec70dde4d1747d9b /hardinfo2/benchmark.c | |
parent | c123c31f979018eaa10d71131a8e9a915e1d7eb4 (diff) |
Image is now saved with the right size. Enable the save image as menu item only when needed.
Diffstat (limited to 'hardinfo2/benchmark.c')
-rw-r--r-- | hardinfo2/benchmark.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hardinfo2/benchmark.c b/hardinfo2/benchmark.c index ed62ba19..bcf5c84e 100644 --- a/hardinfo2/benchmark.c +++ b/hardinfo2/benchmark.c @@ -145,6 +145,24 @@ hi_info(gint entry) } } +const gchar * +hi_note_func(gint entry) +{ + switch (entry) { + case BENCHMARK_ZLIB: + case BENCHMARK_MD5: + case BENCHMARK_SHA1: + return "Results in bytes/second. Higher is better."; + + case BENCHMARK_RAYTRACE: + case BENCHMARK_BLOWFISH: + case BENCHMARK_FIB: + return "Results in seconds. Lower is better."; + } + + return ""; +} + void hi_reload(gint entry) { |