diff --git a/benchmark-scripts/consolidate_multiple_run_of_metrics.py b/benchmark-scripts/consolidate_multiple_run_of_metrics.py index 50a8b0a2..232caec4 100644 --- a/benchmark-scripts/consolidate_multiple_run_of_metrics.py +++ b/benchmark-scripts/consolidate_multiple_run_of_metrics.py @@ -79,6 +79,11 @@ def extract_data(self, log_file_path): print("parsing GPU usages") #print("log file path: {}".format(log_file_path)) device = re.findall(r'\d+', os.path.basename(log_file_path)) + # The correct field to calculate GPU utilization is [unknown]/0 on ARC + if device[0] == '0': + self._USAGE_PATTERN = "[unknown]/0" + elif device[0] == '1': + self._USAGE_PATTERN = "Render/3D/0" #print("device number: {}".format(device)) gpu_device_usage = {} eu_total = 0