Lines Matching refs:bench
167 for bench in config.bench_list:
168 result = os.path.join(config.bench_suite_dir, bench + '.json')
172 logging.info('no %s json file need to be removed. Ignored.', bench)
248 def build_bench(setting_no, bench, compiler, llvm_version, build_os, cflags, argument
251 build_cmd = ['./build_bench.py', '-b=' + bench]
274 def run_and_collect_result(test_cmd, setting_no, i, bench, serial='default'): argument
289 new_bench_result = 'bench_result_%s_%s_%d_%d' % (bench, serial,
303 def test_bench(bench, setting_no, iterations, serials, remote, mode): argument
314 test_cmd.append('-b=' + bench)
325 run_and_collect_result(test_cmd, setting_no, i, bench, serial)
328 run_and_collect_result(test_cmd, setting_no, i, bench)
331 def gen_json(bench, setting_no, iterations, serials): argument
346 input_file = '_'.join([bench_result, bench,
350 '--output=%s.json' % os.path.join(config.bench_suite_dir, bench),
351 '--bench=' + bench, '--platform=' + experiment,
397 bench_list = arguments.bench
434 bench = test_config.get(section, 'bench')
449 build_bench(0, bench, compiler, llvm_version,
452 test_bench(bench, setting_no, it, serials, remote, mode)
454 gen_json(bench, setting_no, it, serials)
456 for bench in config.bench_list:
457 infile = os.path.join(config.bench_suite_dir, bench + '.json')
460 bench + '_report')
471 for bench in bench_list:
472 logging.info('Start building and running benchmark: [%s]', bench)
475 build_bench(setting_no, bench, compiler, llvm_version,
479 test_bench(bench, setting_no, iterations, serials, remote, mode)
481 gen_json(bench, setting_no, iterations, serials)
483 infile = os.path.join(config.bench_suite_dir, bench + '.json')
484 outfile = os.path.join(config.bench_suite_dir, bench + '_report')