Skip to content

Commit

Permalink
create_perf_json: Update for metrics entries
Browse files Browse the repository at this point in the history
Skip metrics entries in create_perf_json.py. Metrics are directly added
after loading mapfile.csv entries.
  • Loading branch information
edwarddavidbaker committed Aug 13, 2024
1 parent 094b109 commit 9ad02b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/create_perf_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -1865,6 +1865,11 @@ def __init__(self, base_path: Path):
first_row = False
continue

# Skip mapfile metrics entries metrics/*_metrics.json. This utility uses
# metrics/perf/*metrics_perf.json files.
if event_type == 'metrics':
continue

# From path compute the shortname (like SKL) and the
# longname (like Skylake).
shortname = re.sub(r'/([^/]*)/.*', r'\1', path)
Expand Down

0 comments on commit 9ad02b5

Please sign in to comment.