Home | History | Annotate | Download | only in benchmarks

Lines Matching refs:benchmark

12 #include "benchmark/benchmark.h"
14 static void BM_SharedPtrCreateDestroy(benchmark::State& st) {
17 benchmark::DoNotOptimize(sp.get());
20 BENCHMARK(BM_SharedPtrCreateDestroy);
22 static void BM_SharedPtrIncDecRef(benchmark::State& st) {
24 benchmark::DoNotOptimize(sp.get());
27 benchmark::ClobberMemory();
30 BENCHMARK(BM_SharedPtrIncDecRef);
32 static void BM_WeakPtrIncDecRef(benchmark::State& st) {
34 benchmark::DoNotOptimize(sp.get());
37 benchmark::ClobberMemory();
40 BENCHMARK(BM_WeakPtrIncDecRef);