Home | History | Annotate | Download | only in microbench

Lines Matching refs:benchmark

17 #include <benchmark/benchmark.h>
36 void BM_DisplayList_alloc(benchmark::State& benchState) {
39 benchmark::DoNotOptimize(displayList);
43 BENCHMARK(BM_DisplayList_alloc);
45 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) {
48 benchmark::DoNotOptimize(displayList);
52 BENCHMARK(BM_DisplayList_alloc_theoretical);
54 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) {
60 benchmark::DoNotOptimize(&canvas);
64 BENCHMARK(BM_DisplayListCanvas_record_empty);
66 void BM_DisplayListCanvas_record_saverestore(benchmark::State& benchState) {
74 benchmark::DoNotOptimize(&canvas);
80 BENCHMARK(BM_DisplayListCanvas_record_saverestore);
82 void BM_DisplayListCanvas_record_translate(benchmark::State& benchState) {
89 benchmark::DoNotOptimize(&canvas);
93 BENCHMARK(BM_DisplayListCanvas_record_translate);
101 void BM_DisplayListCanvas_record_simpleBitmapView(benchmark::State& benchState) {
121 benchmark::DoNotOptimize(&canvas);
125 BENCHMARK(BM_DisplayListCanvas_record_simpleBitmapView);
133 void BM_CanvasState_saverestore(benchmark::State& benchState) {
141 benchmark::DoNotOptimize(&state);
146 BENCHMARK(BM_CanvasState_saverestore);
148 void BM_CanvasState_init(benchmark::State& benchState) {
155 benchmark::DoNotOptimize(&state);
158 BENCHMARK(BM_CanvasState_init);
160 void BM_CanvasState_translate(benchmark::State& benchState) {
167 benchmark::DoNotOptimize(&state);
171 BENCHMARK(BM_CanvasState_translate);