xref: /linux/tools/perf/pmu-events/arch/x86/elkhartlake/ehl-metrics.json (revision 43c117d809e4d0d1f80a418a0365faa6d307a3ed)
1*43c117d8SJin Yao[
2*43c117d8SJin Yao    {
3*43c117d8SJin Yao        "MetricExpr": "INST_RETIRED.ANY / cycles",
4*43c117d8SJin Yao        "BriefDescription": "Instructions Per Cycle (per Logical Processor)",
5*43c117d8SJin Yao        "MetricName": "IPC"
6*43c117d8SJin Yao    },
7*43c117d8SJin Yao    {
8*43c117d8SJin Yao        "MetricExpr": "1 / IPC",
9*43c117d8SJin Yao        "BriefDescription": "Cycles Per Instruction (per Logical Processor)",
10*43c117d8SJin Yao        "MetricName": "CPI"
11*43c117d8SJin Yao    },
12*43c117d8SJin Yao    {
13*43c117d8SJin Yao        "MetricExpr": "cycles",
14*43c117d8SJin Yao        "BriefDescription": "Per-Logical Processor actual clocks when the Logical Processor is active.",
15*43c117d8SJin Yao        "MetricName": "CLKS"
16*43c117d8SJin Yao    },
17*43c117d8SJin Yao    {
18*43c117d8SJin Yao        "MetricExpr": "INST_RETIRED.ANY / BR_MISP_RETIRED.ALL_BRANCHES",
19*43c117d8SJin Yao        "BriefDescription": "Number of Instructions per non-speculative Branch Misprediction (JEClear)",
20*43c117d8SJin Yao        "MetricName": "IpMispredict"
21*43c117d8SJin Yao    },
22*43c117d8SJin Yao    {
23*43c117d8SJin Yao        "MetricExpr": "INST_RETIRED.ANY / BR_INST_RETIRED.ALL_BRANCHES",
24*43c117d8SJin Yao        "BriefDescription": "Instructions per Branch (lower number means higher occurrence rate)",
25*43c117d8SJin Yao        "MetricName": "IpBranch"
26*43c117d8SJin Yao    },
27*43c117d8SJin Yao    {
28*43c117d8SJin Yao        "MetricExpr": "INST_RETIRED.ANY",
29*43c117d8SJin Yao        "BriefDescription": "Total number of retired Instructions",
30*43c117d8SJin Yao        "MetricName": "Instructions"
31*43c117d8SJin Yao    },
32*43c117d8SJin Yao    {
33*43c117d8SJin Yao        "MetricExpr": "64 * LONGEST_LAT_CACHE.MISS / 1000000000 ",
34*43c117d8SJin Yao        "BriefDescription": "Average per-core data fill bandwidth to the L3 cache [GB / sec]",
35*43c117d8SJin Yao        "MetricName": "L3_Cache_Fill_BW"
36*43c117d8SJin Yao    },
37*43c117d8SJin Yao    {
38*43c117d8SJin Yao        "MetricExpr": "CPU_CLK_UNHALTED.REF_TSC / msr@tsc@",
39*43c117d8SJin Yao        "BriefDescription": "Average CPU Utilization",
40*43c117d8SJin Yao        "MetricName": "CPU_Utilization"
41*43c117d8SJin Yao    },
42*43c117d8SJin Yao    {
43*43c117d8SJin Yao        "MetricExpr": "(cycles / CPU_CLK_UNHALTED.REF_TSC) * msr@tsc@ / 1000000000 ",
44*43c117d8SJin Yao        "BriefDescription": "Measured Average Frequency for unhalted processors [GHz]",
45*43c117d8SJin Yao        "MetricName": "Average_Frequency"
46*43c117d8SJin Yao    },
47*43c117d8SJin Yao    {
48*43c117d8SJin Yao        "MetricExpr": "cycles / CPU_CLK_UNHALTED.REF_TSC",
49*43c117d8SJin Yao        "BriefDescription": "Average Frequency Utilization relative nominal frequency",
50*43c117d8SJin Yao        "MetricName": "Turbo_Utilization"
51*43c117d8SJin Yao    },
52*43c117d8SJin Yao    {
53*43c117d8SJin Yao        "MetricExpr": "cycles:k / cycles",
54*43c117d8SJin Yao        "BriefDescription": "Fraction of cycles spent in the Operating System (OS) Kernel mode",
55*43c117d8SJin Yao        "MetricName": "Kernel_Utilization"
56*43c117d8SJin Yao    }
57*43c117d8SJin Yao]
58