Lines Matching refs:benchmark

21 void BM_ConstructSize(benchmark::State& st, Container) {  in BM_ConstructSize()
30 void BM_ConstructSizeValue(benchmark::State& st, Container, typename Container::value_type const& v… in BM_ConstructSizeValue()
39 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) { in BM_ConstructIterIter()
43 benchmark::DoNotOptimize(&in); in BM_ConstructIterIter()
51 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValue()
57 benchmark::DoNotOptimize(&(*c.insert(*it).first)); in BM_InsertValue()
59 benchmark::ClobberMemory(); in BM_InsertValue()
64 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValueRehash()
71 benchmark::DoNotOptimize(&(*c.insert(*it).first)); in BM_InsertValueRehash()
73 benchmark::ClobberMemory(); in BM_InsertValueRehash()
79 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertDuplicate()
83 benchmark::DoNotOptimize(&c); in BM_InsertDuplicate()
84 benchmark::DoNotOptimize(&in); in BM_InsertDuplicate()
87 benchmark::DoNotOptimize(&(*c.insert(*it).first)); in BM_InsertDuplicate()
89 benchmark::ClobberMemory(); in BM_InsertDuplicate()
95 void BM_EmplaceDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_EmplaceDuplicate()
99 benchmark::DoNotOptimize(&c); in BM_EmplaceDuplicate()
100 benchmark::DoNotOptimize(&in); in BM_EmplaceDuplicate()
103 benchmark::DoNotOptimize(&(*c.emplace(*it).first)); in BM_EmplaceDuplicate()
105 benchmark::ClobberMemory(); in BM_EmplaceDuplicate()
110 static void BM_Find(benchmark::State& st, Container c, GenInputs gen) { in BM_Find()
113 benchmark::DoNotOptimize(&(*c.begin())); in BM_Find()
117 benchmark::DoNotOptimize(&(*c.find(*it))); in BM_Find()
119 benchmark::ClobberMemory(); in BM_Find()
124 static void BM_FindRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_FindRehash()
128 benchmark::DoNotOptimize(&(*c.begin())); in BM_FindRehash()
132 benchmark::DoNotOptimize(&(*c.find(*it))); in BM_FindRehash()
134 benchmark::ClobberMemory(); in BM_FindRehash()
139 static void BM_Rehash(benchmark::State& st, Container c, GenInputs gen) { in BM_Rehash()
143 benchmark::DoNotOptimize(c); in BM_Rehash()
148 benchmark::ClobberMemory(); in BM_Rehash()