Home | History | Annotate | Download | only in bench

Lines Matching refs:samples

71 DEFINE_int32(samples, 10, "Number of samples to measure for each bench.");
147 this->config.samples, &props));
255 static int cpu_bench(const double overhead, Target* target, Benchmark* bench, double* samples) {
297 samples[i] = time(loops, bench, target) / loops;
304 double* samples) {
343 samples[i] = time(loops, bench, target) / loops;
401 #define GPU_CONFIG(name, ctxType, samples, useDFText) \
402 if (is_gpu_config_allowed(#name, GrContextFactory::ctxType, samples)) { \
408 samples, \
893 SkAutoTMalloc<double> samples(FLAGS_samples);
903 samples");
934 ? gpu_bench(targets[j], bench.get(), samples.get())
935 : cpu_bench(overhead, targets[j], bench.get(), samples.get());
952 Stats stats(samples.get(), FLAGS_samples);
973 SkDebugf("%s ", HUMANIZE(samples[i]));