Lines Matching refs:repetitions
49 void run_benchmark(const std::string& name, int repetitions, int elements, in run_benchmark() argument
62 for (int i = 0; i < repetitions; ++i) { in run_benchmark()
67 double ops = static_cast<double>(elements) * repetitions; in run_benchmark()
68 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
82 for (int i = 0; i < repetitions; ++i) { in run_benchmark()
87 ops = static_cast<double>(elements) * repetitions; in run_benchmark()
88 std::cout << "Avg: " << (wall_time / repetitions) << std::endl; in run_benchmark()
94 const int repetitions = 500; in main() local
120 run_benchmark("Requantize", repetitions, elements, &context, in main()
134 run_benchmark("Dequantize", repetitions, elements, &context, in main()
148 run_benchmark("Quantize", repetitions, elements, &context, quantize_params); in main()