Skip to content

Commit

Permalink
Added hybrid platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
calebbiggers committed Nov 13, 2024
1 parent edc72dc commit 8e434a0
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 2 deletions.
72 changes: 72 additions & 0 deletions scripts/config/platform_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@
"IsHybrid":false,
"DefaultLevel":1
},
{
"Name":"Tiger Lake Client",
"ShortName":"TGL",
"FileName":"TigerLake",
"Core":"WillowCove",
"CoreType":"P-core",
"IsHybrid":false,
"DefaultLevel":1
},
{
"Name":"Sapphire Rapids Server",
"ShortName":"SPR",
Expand Down Expand Up @@ -125,6 +134,15 @@
"IsHybrid":false,
"DefaultLevel":2
},
{
"Name":"Emerald Rapids Server",
"ShortName":"EMR",
"FileName":"EmeraldRapids",
"Core":"RaptorCove",
"CoreType":"P-core",
"IsHybrid":false,
"DefaultLevel":2
},
{
"Name":"Sierra Forest Server",
"ShortName":"SRF",
Expand Down Expand Up @@ -160,5 +178,59 @@
"CoreType":"E-core",
"IsHybrid":true,
"DefaultLevel":0
},
{
"Name":"Arrow Lake",
"ShortName":"ARL",
"FileName":"Arrowlake",
"Core":"LionCove",
"CoreType":"P-core",
"IsHybrid":true,
"DefaultLevel":2
},
{
"Name":"Arrow Lake",
"ShortName":"ARL",
"FileName":"Arrowlake",
"Core":"SkyMont",
"CoreType":"E-core",
"IsHybrid":true,
"DefaultLevel":2
},
{
"Name":"Lunar Lake",
"ShortName":"LNL",
"FileName":"Lunarlake",
"Core":"LionCove",
"CoreType":"P-core",
"IsHybrid":true,
"DefaultLevel":2
},
{
"Name":"Lunar Lake",
"ShortName":"LNL",
"FileName":"Lunarlake",
"Core":"SkyMont",
"CoreType":"E-core",
"IsHybrid":true,
"DefaultLevel":2
},
{
"Name":"Meteor Lake",
"ShortName":"MTL",
"FileName":"Meteorlake",
"Core":"RedwoodCove",
"CoreType":"P-core",
"IsHybrid":true,
"DefaultLevel":2
},
{
"Name":"Meteor Lake",
"ShortName":"MTL",
"FileName":"Meteorlake",
"Core":"Crestmont",
"CoreType":"E-core",
"IsHybrid":true,
"DefaultLevel":2
}
]
2 changes: 1 addition & 1 deletion scripts/config/replacements_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{
"events": ["ICACHE_", "INT_MISC", "UOPS_", "IDQ", "OFFCORE_",
"L1D_", "DTLB_", "AMX_", "ITLB_", "EXE_", "INST_", "ASSISTS",
"SW_", "RS", "DSB2MITE_", "ARB_"],
"SW_", "RS", "DSB2MITE_", "ARB_", "LSD"],
"unit":"cpu",
"translations":{
"c":"cmask",
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf_format_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def get_public_description(self, metric):
related_metrics.extend(self.issue_dict[issue.strip()])

# Filter out self from list
related_metrics = set([m for m in related_metrics if m != self.translate_metric_name(metric)])
related_metrics = sorted(set([m for m in related_metrics if m != self.translate_metric_name(metric)]))

if len(related_metrics) >= 1:
description += f"Related metrics: {", ".join(related_metrics)}" + ". "
Expand Down

0 comments on commit 8e434a0

Please sign in to comment.