Lines Matching refs:bench
25 "[~][^]substring[$] [...] of bench name to run.\n"
27 "~ causes a matching bench to always be skipped\n"
28 "^ requires the start of the bench to match\n"
29 "$ requires the end of the bench to match\n"
31 "If a bench does not match any list entry,\n"
34 DEFINE_bool(warmup, true, "Include a warmup bench? (Excluding the warmup may compromise results)");
129 Benchmark* bench;
132 bench = new WarmupBench;
135 while ((bench = this->innerNext()) &&
136 (SkCommandLineFlags::ShouldSkip(FLAGS_match, bench->getUniqueName()) ||
137 !bench->isSuitableFor(Benchmark::kGPU_Backend))) {
138 bench->unref();
143 if (bench && FLAGS_cpu) {
144 bench = new CpuWrappedBenchmark(fSurfaceProps, bench);
145 } else if (bench && FLAGS_offscreen) {
146 bench = new GpuWrappedBenchmark(fSurfaceProps, bench, FLAGS_msaa);
149 fBenchmark.reset(bench);
155 Benchmark* bench = fBenches->factory()(nullptr);
157 if (bench->isVisual()) {
158 fSourceType = "bench";
160 return bench;
162 bench->unref();