Searched refs:BenchmarkWantsArg (Results 1 – 1 of 1) sorted by relevance
30 template <typename T> class BenchmarkWantsArg; variable76 class BenchmarkWithArg : public BenchmarkWantsArg<T> {79 BenchmarkWantsArg<T>(name, fn), arg_(arg) { in BenchmarkWithArg()90 virtual void RunFn(int iterations) { BenchmarkWantsArg<T>::fn_arg_(iterations, arg_); } in RunFn()98 class BenchmarkWantsArg : public BenchmarkWantsArgBase<T> {100 BenchmarkWantsArg<T>(const char* name, void (*fn)(int, T)) :105 class BenchmarkWantsArg<int> : public BenchmarkWantsArgBase<int> {107 BenchmarkWantsArg<int>(const char* name, void (*fn)(int, int)) :110 BenchmarkWantsArg<int>* Arg(int arg) { in Arg()123 static inline BenchmarkWantsArg<T>* BenchmarkFactory(const char* name, void (*fn)(int, T)) { in BenchmarkFactory()[all …]