Lines Matching defs:benchmark
149 sk_tools::PictureBenchmark& benchmark) {
191 benchmark.run(picture);
225 static void setup_benchmark(sk_tools::PictureBenchmark* benchmark) {
308 benchmark->setTimersToShow(timerWall, truncatedTimerWall, timerCpu, truncatedTimerCpu,
338 benchmark->setTimeIndividualTiles(true);
348 benchmark->setTimerResultType(TimerData::kPerIter_Result);
350 benchmark->setTimerResultType(TimerData::kMin_Result);
352 benchmark->setTimerResultType(TimerData::kAvg_Result);
354 benchmark->setRenderer(renderer);
355 benchmark->setRepeats(FLAGS_repeat);
356 benchmark->setLogger(&gLogger);
360 sk_tools::PictureBenchmark& benchmark) {
369 if (!run_single_benchmark(inputPath, benchmark)) {
374 if (!run_single_benchmark(inputAsSkString, benchmark)) {
419 sk_tools::PictureBenchmark benchmark;
421 setup_benchmark(&benchmark);
425 failures += process_input(FLAGS_readPath[i], benchmark);