client/cpu_benchmark.h File Reference

(r16139/r15762)

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAX_CPU_BENCHMARKS_SECONDS   300
#define CPU_BENCHMARKS_RUNNING   0
#define CPU_BENCHMARKS_COMPLETE   1
#define CPU_BENCHMARKS_NOT_RUNNING   2
#define CPU_BENCHMARKS_ERROR   3
#define BM_TYPE_FP   0
#define BM_TYPE_INT   1

Functions

int dhrystone (double &vax_mips, double &loops, double &cpu_time, double min_cpu_time)
int whetstone (double &flops, double &cpu_time, double min_cpu_time)
void benchmark_wait_to_start (int which)
bool benchmark_time_to_stop (int which)


Define Documentation

#define BM_TYPE_FP   0

#define BM_TYPE_INT   1

#define CPU_BENCHMARKS_COMPLETE   1

#define CPU_BENCHMARKS_ERROR   3

#define CPU_BENCHMARKS_NOT_RUNNING   2

#define CPU_BENCHMARKS_RUNNING   0

#define MAX_CPU_BENCHMARKS_SECONDS   300


Function Documentation

bool benchmark_time_to_stop ( int  which  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void benchmark_wait_to_start ( int  which  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

int dhrystone ( double &  vax_mips,
double &  loops,
double &  cpu_time,
double  min_cpu_time 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int whetstone ( double &  flops,
double &  cpu_time,
double  min_cpu_time 
)

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Oct 6 10:37:49 2008 for BOINC by  doxygen 1.5.6