Skip to content

Commit 1daa9b0

Browse files
Merge pull request #59 from swanandmhalagi/emr
EMR release
2 parents add187c + b928569 commit 1daa9b0

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ build-public/postprocess:
4545
--add-data "./events/metric_skx_clx.json:." \
4646
--add-data "./events/metric_bdx.json:." \
4747
--add-data "./events/metric_icx.json:." \
48-
--add-data "./events/metric_spr.json:." \
48+
--add-data "./events/metric_spr_emr.json:." \
4949
--add-data "./events/metric_srf.json:." \
5050
--add-data "./src/base.html:." \
5151
--runtime-tmpdir . \

_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.7
1+
1.3.8

events/metric_spr.json renamed to events/metric_spr_emr.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@
342342
"name": "metric_TMA_......Ports_Utilized_0(%)",
343343
"expression": "100 * ( [EXE_ACTIVITY.3_PORTS_UTIL:u0x80] / ( [cpu-cycles] ) + ( [RESOURCE_STALLS.SCOREBOARD] / ( [cpu-cycles] ) ) * ( [CYCLE_ACTIVITY.STALLS_TOTAL] - [EXE_ACTIVITY.BOUND_ON_LOADS] ) / ( [cpu-cycles] ) )"
344344
},
345+
{
346+
"name": "metric_TMA_........AMX_Busy(%)",
347+
"expression": "100 * ( [EXE.AMX_BUSY] / ( [CPU_CLK_UNHALTED.DISTRIBUTED] ) )"
348+
},
345349
{
346350
"name": "metric_TMA_......Ports_Utilized_1(%)",
347351
"expression": "100 * ( [EXE_ACTIVITY.1_PORTS_UTIL] / ( [cpu-cycles] ) )"
@@ -384,4 +388,4 @@
384388
"expression": "(1 - [CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE] / [CPU_CLK_UNHALTED.REF_DISTRIBUTED]) if [SOCKET_COUNT] > 1 else 0",
385389
"origin": "perfspect"
386390
}
387-
]
391+
]

events/spr.txt renamed to events/spr_emr.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ cpu/event=0x79,umask=0x04,cmask=0x01,period=2000003,name='IDQ.MITE_CYCLES_ANY'/,
105105
cpu/event=0x79,umask=0x04,cmask=0x06,period=2000003,name='IDQ.MITE_CYCLES_OK'/,
106106
cpu/event=0x79,umask=0x08,cmask=0x01,period=2000003,name='IDQ.DSB_CYCLES_ANY'/,
107107
cpu/event=0x79,umask=0x08,cmask=0x06,period=2000003,name='IDQ.DSB_CYCLES_OK'/,
108+
cpu/event=0xec,umask=0x02,period=2000003,name='CPU_CLK_UNHALTED.DISTRIBUTED'/,
109+
cpu/event=0xb7,umask=0x02,period=2000003,name='EXE.AMX_BUSY'/,
108110
cpu-cycles,
109111
ref-cycles,
110112
instructions;
@@ -183,4 +185,4 @@ imc/event=0x05,umask=0xf0,name='UNC_M_CAS_COUNT.WR'/;
183185

184186
#power
185187
power/energy-pkg/,
186-
power/energy-ram/;
188+
power/energy-ram/;

perf-collect.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,8 @@ def validate_file(fname):
334334
eventfile = "clx_skx.txt"
335335
elif arch == "icelake":
336336
eventfile = "icx.txt"
337-
elif arch == "sapphirerapids":
338-
eventfile = "spr.txt"
339-
elif arch == "emeraldrapids":
340-
eventfile = "spr.txt"
341-
have_uncore = False
337+
elif arch == "sapphirerapids" or arch == "emeraldrapids":
338+
eventfile = "spr_emr.txt"
342339
elif arch == "sierraforest":
343340
eventfile = "srf.txt"
344341

perf-collect.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ block_cipher = None
77
a = Analysis(
88
['perf-collect.py'],
99
pathex=[],
10-
datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr.txt', '.'), ('./events/srf.txt', '.')],
10+
datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr_emr.txt', '.'), ('./events/srf.txt', '.')],
1111
hiddenimports=[],
1212
hookspath=[],
1313
hooksconfig={},

perf-postprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def get_metric_file_name(microarchitecture):
407407
elif microarchitecture == "icelake":
408408
metric_file = "metric_icx.json"
409409
elif microarchitecture == "sapphirerapids" or microarchitecture == "emeraldrapids":
410-
metric_file = "metric_spr.json"
410+
metric_file = "metric_spr_emr.json"
411411
elif microarchitecture == "sierraforest":
412412
metric_file = "metric_srf.json"
413413
else:

0 commit comments

Comments
 (0)