Lines Matching defs:BenchmarkFunction
6709 struct BenchmarkFunction { struct
6711 struct callable {
6717 struct model : public callable {
6736 struct do_nothing { void operator()() const {} }; in operator ()()
6739 BenchmarkFunction(model<T>* c) : f(c) {} in BenchmarkFunction() function
6742 BenchmarkFunction() in BenchmarkFunction() argument
6747 BenchmarkFunction(Fun&& fun) in BenchmarkFunction() argument
6750 BenchmarkFunction(BenchmarkFunction&& that) in BenchmarkFunction() function
6753 BenchmarkFunction(BenchmarkFunction const& that) in BenchmarkFunction() function
6756 BenchmarkFunction& operator=(BenchmarkFunction&& that) { in operator =()
6761 BenchmarkFunction& operator=(BenchmarkFunction const& that) { in operator =()
6766 void operator()(Chronometer meter) const { f->call(meter); } in operator ()()
6769 std::unique_ptr<callable> f;