Lines Matching refs:benchmark

14 static void BM_StringFindNoMatch(benchmark::State &state) {  in BM_StringFindNoMatch()
18 benchmark::DoNotOptimize(s1.find(s2)); in BM_StringFindNoMatch()
23 static void BM_StringFindAllMatch(benchmark::State &state) { in BM_StringFindAllMatch()
27 benchmark::DoNotOptimize(s1.find(s2)); in BM_StringFindAllMatch()
32 static void BM_StringFindMatch1(benchmark::State &state) { in BM_StringFindMatch1()
37 benchmark::DoNotOptimize(s1.find(s2)); in BM_StringFindMatch1()
42 static void BM_StringFindMatch2(benchmark::State &state) { in BM_StringFindMatch2()
48 benchmark::DoNotOptimize(s1.find(s2)); in BM_StringFindMatch2()
52 static void BM_StringCtorDefault(benchmark::State &state) { in BM_StringCtorDefault()
55 benchmark::DoNotOptimize(Default); in BM_StringCtorDefault()
139 static void run(benchmark::State& state) { in run()
141 benchmark::DoNotOptimize( in run()
152 static void StringCopyAndDestroy(benchmark::State& state) { in StringCopyAndDestroy()
178 static void run(benchmark::State& state) { in run()
187 static void run(benchmark::State& state) { in run()
196 static void run(benchmark::State& state) { in run()
205 benchmark::DoNotOptimize(Storage); in run()
225 static void run(benchmark::State& state) { in run()
229 benchmark::DoNotOptimize(Lhs); in run()
230 benchmark::DoNotOptimize(Rhs); in run()
233 benchmark::DoNotOptimize(Lhs == Rhs); in run()
236 benchmark::DoNotOptimize(Lhs < Rhs); in run()
239 benchmark::DoNotOptimize(Lhs.compare(Rhs)); in run()
276 void run(benchmark::State& state) const { in run()
297 benchmark::DoNotOptimize(Data); in run()
298 benchmark::DoNotOptimize(Size); in run()
302 benchmark::DoNotOptimize(*Data); in run()
359 benchmark::Initialize(&argc, argv); in main()
360 if (benchmark::ReportUnrecognizedArguments(argc, argv)) in main()
374 benchmark::RunSpecifiedBenchmarks(); in main()