From 56915891c4c485a6047c59b93f94c4b1729b39fa Mon Sep 17 00:00:00 2001 From: swanandmhalagi Date: Fri, 6 Oct 2023 09:19:54 -0700 Subject: [PATCH] public release --- Makefile | 2 +- _version.txt | 2 +- perf-collect.py | 7 ++----- perf-collect.spec | 2 +- perf-postprocess.py | 2 +- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index d5d86da..0b586dc 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ build-public/postprocess: --add-data "./events/metric_skx_clx.json:." \ --add-data "./events/metric_bdx.json:." \ --add-data "./events/metric_icx.json:." \ - --add-data "./events/metric_spr.json:." \ + --add-data "./events/metric_spr_emr.json:." \ --add-data "./events/metric_srf.json:." \ --add-data "./src/base.html:." \ --runtime-tmpdir . \ diff --git a/_version.txt b/_version.txt index 3336003..e05cb33 100644 --- a/_version.txt +++ b/_version.txt @@ -1 +1 @@ -1.3.7 +1.3.8 diff --git a/perf-collect.py b/perf-collect.py index 07664d8..e3d95cb 100644 --- a/perf-collect.py +++ b/perf-collect.py @@ -334,11 +334,8 @@ def validate_file(fname): eventfile = "clx_skx.txt" elif arch == "icelake": eventfile = "icx.txt" - elif arch == "sapphirerapids": - eventfile = "spr.txt" - elif arch == "emeraldrapids": - eventfile = "spr.txt" - have_uncore = False + elif arch == "sapphirerapids" or arch == "emeraldrapids": + eventfile = "spr_emr.txt" elif arch == "sierraforest": eventfile = "srf.txt" diff --git a/perf-collect.spec b/perf-collect.spec index b481c68..5f86876 100644 --- a/perf-collect.spec +++ b/perf-collect.spec @@ -7,7 +7,7 @@ block_cipher = None a = Analysis( ['perf-collect.py'], pathex=[], - datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr.txt', '.'), ('./events/srf.txt', '.')], + datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr_emr.txt', '.'), ('./events/srf.txt', '.')], hiddenimports=[], hookspath=[], hooksconfig={}, diff --git a/perf-postprocess.py b/perf-postprocess.py index 490005b..76f61c9 100644 --- a/perf-postprocess.py +++ b/perf-postprocess.py @@ -407,7 +407,7 @@ def get_metric_file_name(microarchitecture): elif microarchitecture == "icelake": metric_file = "metric_icx.json" elif microarchitecture == "sapphirerapids" or microarchitecture == "emeraldrapids": - metric_file = "metric_spr.json" + metric_file = "metric_spr_emr.json" elif microarchitecture == "sierraforest": metric_file = "metric_srf.json" else: