Lines Matching defs:results_dir
83 def read_target_stats(measurement_name, results_file_list, results_dir):
91 with open(os.path.join(results_dir, result_file), "r") as result_file_fh:
98 def parse_results(results_dir, csv_file):
99 files = os.listdir(results_dir)
169 stats = read_json_stats(os.path.join(results_dir, r))
182 with open(os.path.join(results_dir, i_results_filename), "w") as fh:
207 aggregate_results.update(read_target_stats("target_avg_cpu_util", sar_result_files, results_dir))
211 aggregate_results.update(read_target_stats("target_avg_power", pm_result_files, results_dir))
217 with open(os.path.join(results_dir, csv_file), "w") as fh:
222 with open(os.path.join(results_dir, csv_file), "a") as fh:
224 logging.info("You can find the test results in the file %s" % os.path.join(results_dir, csv_file))