Functions | |
def | check_input_file (filename) |
def | classify_input_file (filename) |
def | find_benchmark_flag (prefix, benchmark_flags) |
def | is_executable_file (filename) |
def | is_json_file (filename) |
def | load_benchmark_results (fname) |
def | remove_benchmark_flags (prefix, benchmark_flags) |
def | run_benchmark (exe_name, benchmark_flags) |
def | run_or_load_benchmark (filename, benchmark_flags) |
Variables | |
int | _num_magic_bytes = 2 if sys.platform.startswith('win') else 4 |
int | IT_Executable = 2 |
int | IT_Invalid = 0 |
int | IT_JSON = 1 |
util.py - General utilities for running, loading, and processing benchmarks
def gbench.util.check_input_file | ( | filename | ) |
def gbench.util.classify_input_file | ( | filename | ) |
def gbench.util.find_benchmark_flag | ( | prefix, | |
benchmark_flags | |||
) |
def gbench.util.is_executable_file | ( | filename | ) |
def gbench.util.is_json_file | ( | filename | ) |
def gbench.util.load_benchmark_results | ( | fname | ) |
def gbench.util.remove_benchmark_flags | ( | prefix, | |
benchmark_flags | |||
) |
def gbench.util.run_benchmark | ( | exe_name, | |
benchmark_flags | |||
) |
def gbench.util.run_or_load_benchmark | ( | filename, | |
benchmark_flags | |||
) |
|
private |