From f1415df22f9a7ea8f207049e1f9d48b44014d557 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 30 Dec 2006 15:08:41 +0000 Subject: Image is now saved with the right size. Enable the save image as menu item only when needed. --- hardinfo2/benchmark.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'hardinfo2/benchmark.c') 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) { -- cgit v1.2.3