diff options
Diffstat (limited to 'hardinfo2')
| -rw-r--r-- | hardinfo2/benchmark.c | 3 | ||||
| -rw-r--r-- | hardinfo2/fbench.c | 4 | ||||
| -rw-r--r-- | hardinfo2/hardinfo.c | 2 | 
3 files changed, 6 insertions, 3 deletions
| diff --git a/hardinfo2/benchmark.c b/hardinfo2/benchmark.c index 5fe0c6dc..4de2b65f 100644 --- a/hardinfo2/benchmark.c +++ b/hardinfo2/benchmark.c @@ -372,6 +372,9 @@ const gchar *hi_note_func(gint entry)      switch (entry) {      case BENCHMARK_CRYPTOHASH:  	return "Results in MiB/second. Higher is better."; +     +    case BENCHMARK_GUI: +        return "Results in HIMarks. Higher is better.";      case BENCHMARK_FFT:      case BENCHMARK_RAYTRACE: diff --git a/hardinfo2/fbench.c b/hardinfo2/fbench.c index 20f01a35..df1b8e19 100644 --- a/hardinfo2/fbench.c +++ b/hardinfo2/fbench.c @@ -271,7 +271,7 @@ static double od_sa[2][2];  				/*static char outarr[8][80];*//* Computed output of program goes here */ -int itercount;			/* The iteration counter for the main loop +static int itercount;			/* The iteration counter for the main loop  				   in the program is made global so that  				   the compiler should not be allowed to  				   optimise out the loop over the ray @@ -280,7 +280,7 @@ int itercount;			/* The iteration counter for the main loop  #ifndef ITERATIONS  #define ITERATIONS 1000  #endif -int niter = ITERATIONS;		/* Iteration counter */ +static int niter = ITERATIONS;		/* Iteration counter */  #if 0  static char *refarr[] = {	/* Reference results.  These happen to diff --git a/hardinfo2/hardinfo.c b/hardinfo2/hardinfo.c index ef41a32e..0af7bc8e 100644 --- a/hardinfo2/hardinfo.c +++ b/hardinfo2/hardinfo.c @@ -119,7 +119,7 @@ int main(int argc, char **argv)          g_type_init();          xmlrpc_server_init(); -        xmlrpc_server_start(); +        xmlrpc_server_start(NULL);      } else if (params.run_benchmark) {          gchar *result; | 
