26 #ifndef BENCH_INCLUDED
27 #define BENCH_INCLUDED
34 #include "../base/ver.h"
38 #include "../base/str.h"
41 #ifndef CHECK_INCLUDED
42 #include "../base/check.h"
54 static const long BENCH_MAGIC = 0x42454E0AL;
92 virtual long eval() = 0;
95 virtual str_t name()
const = 0;
98 virtual str_t file(
int i)
const = 0;
101 virtual long result(
int i)
const = 0;
150 #define BENCH_NULL (static_cast<bench_t>(0))
Abstract superclass for Standard Benchmarks with load() and eval() Methods.
Definition: bench.h:67
virtual bool load(str_t filename)=0
const char * str_t
Definition: str.h:41
#define STR_NULL
Definition: str.h:52