Lines Matching defs:BenchmarkFunction
6696 struct BenchmarkFunction { struct
6698 struct callable {
6704 struct model : public callable {
6723 struct do_nothing { void operator()() const {} }; in operator ()()
6726 BenchmarkFunction(model<T>* c) : f(c) {} in BenchmarkFunction() argument
6729 BenchmarkFunction() in BenchmarkFunction() function
6734 BenchmarkFunction(Fun&& fun) in BenchmarkFunction() function
6737 BenchmarkFunction(BenchmarkFunction&& that) in BenchmarkFunction() function
6740 BenchmarkFunction(BenchmarkFunction const& that) in BenchmarkFunction() function
6743 BenchmarkFunction& operator=(BenchmarkFunction&& that) { in operator =()
6748 BenchmarkFunction& operator=(BenchmarkFunction const& that) { in operator =()
6753 void operator()(Chronometer meter) const { f->call(meter); } in operator ()()
6756 std::unique_ptr<callable> f;