mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 00:55:48 -04:00
Icelake and later architectures have slots events and SLOTS metrics meaning case sensitivity is important. Make the test metrics case agree with the name of the metrics. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Ahmad Yasin <ahmad.yasin@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Caleb Biggers <caleb.biggers@intel.com> Cc: Florian Fischer <florian.fischer@muhq.space> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: John Garry <john.garry@huawei.com> Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Kshipra Bopardikar <kshipra.bopardikar@intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Miaoqian Lin <linmq006@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Perry Taylor <perry.taylor@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Samantha Alt <samantha.alt@intel.com> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20221004021612.325521-3-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
[
|
|
{
|
|
"MetricExpr": "1 / IPC",
|
|
"MetricName": "CPI"
|
|
},
|
|
{
|
|
"MetricExpr": "inst_retired.any / cpu_clk_unhalted.thread",
|
|
"MetricName": "IPC",
|
|
"MetricGroup": "group1"
|
|
},
|
|
{
|
|
"MetricExpr": "idq_uops_not_delivered.core / (4 * (( ( cpu_clk_unhalted.thread / 2 ) * ( 1 + cpu_clk_unhalted.one_thread_active / cpu_clk_unhalted.ref_xclk ) )))",
|
|
"MetricName": "Frontend_Bound_SMT"
|
|
},
|
|
{
|
|
"MetricExpr": "l1d\\-loads\\-misses / inst_retired.any",
|
|
"MetricName": "dcache_miss_cpi"
|
|
},
|
|
{
|
|
"MetricExpr": "l1i\\-loads\\-misses / inst_retired.any",
|
|
"MetricName": "icache_miss_cycles"
|
|
},
|
|
{
|
|
"MetricExpr": "(dcache_miss_cpi + icache_miss_cycles)",
|
|
"MetricName": "cache_miss_cycles",
|
|
"MetricGroup": "group1"
|
|
},
|
|
{
|
|
"MetricExpr": "l2_rqsts.demand_data_rd_hit + l2_rqsts.pf_hit + l2_rqsts.rfo_hit",
|
|
"MetricName": "DCache_L2_All_Hits"
|
|
},
|
|
{
|
|
"MetricExpr": "max(l2_rqsts.all_demand_data_rd - l2_rqsts.demand_data_rd_hit, 0) + l2_rqsts.pf_miss + l2_rqsts.rfo_miss",
|
|
"MetricName": "DCache_L2_All_Miss"
|
|
},
|
|
{
|
|
"MetricExpr": "DCache_L2_All_Hits + DCache_L2_All_Miss",
|
|
"MetricName": "DCache_L2_All"
|
|
},
|
|
{
|
|
"MetricExpr": "d_ratio(DCache_L2_All_Hits, DCache_L2_All)",
|
|
"MetricName": "DCache_L2_Hits"
|
|
},
|
|
{
|
|
"MetricExpr": "d_ratio(DCache_L2_All_Miss, DCache_L2_All)",
|
|
"MetricName": "DCache_L2_Misses"
|
|
},
|
|
{
|
|
"MetricExpr": "ipc + M2",
|
|
"MetricName": "M1"
|
|
},
|
|
{
|
|
"MetricExpr": "ipc + M1",
|
|
"MetricName": "M2"
|
|
},
|
|
{
|
|
"MetricExpr": "1/M3",
|
|
"MetricName": "M3"
|
|
},
|
|
{
|
|
"MetricExpr": "64 * l1d.replacement / 1000000000 / duration_time",
|
|
"MetricName": "L1D_Cache_Fill_BW"
|
|
}
|
|
]
|