2 #include "benchmark/benchmark.h"
8 class MyFixture
: public ::benchmark::Fixture
{
10 MyFixture() : data(0) {}
15 BENCHMARK_TEMPLATE_F(MyFixture
, Foo
, int)(benchmark::State
&st
) {
21 BENCHMARK_TEMPLATE_DEFINE_F(MyFixture
, Bar
, double)(benchmark::State
& st
) {
26 BENCHMARK_REGISTER_F(MyFixture
, Bar
);