Lines Matching refs:model
6651 struct model : public callable {
6652 model(Fun&& fun) : fun(std::move(fun)) {}
6653 model(Fun const& fun) : fun(fun) {}
6655 model<Fun>* clone() const override { return new model<Fun>(*this); }
6673 BenchmarkFunction(model<T>* c) : f(c) {}
6677 : f(new model<do_nothing>{ {} }) {}
6682 : f(new model<typename std::decay<Fun>::type>(std::forward<Fun>(fun))) {}
6859 Detail::ChronometerModel<Clock> model;
6860 this->benchmark(Chronometer(model, iterations_per_sample));
6861 auto sample_time = model.elapsed() - env.clock_cost.mean;