xref: /openbmc/linux/tools/perf/pmu-events/arch/arm64/sbsa.json (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1a9ff64e5SJing Zhang[
2a9ff64e5SJing Zhang    {
3*ab374400SJames Clark        "MetricExpr": "100 * (stall_slot_frontend / (#slots * cpu_cycles))",
4*ab374400SJames Clark        "BriefDescription": "This metric is the percentage of total slots that were stalled due to resource constraints in the frontend of the processor.",
5556fd664SKan Liang        "DefaultMetricgroupName": "TopdownL1",
6556fd664SKan Liang        "MetricGroup": "Default;TopdownL1",
7a9ff64e5SJing Zhang        "MetricName": "frontend_bound",
8*ab374400SJames Clark        "ScaleUnit": "1percent of slots"
9a9ff64e5SJing Zhang    },
10a9ff64e5SJing Zhang    {
11*ab374400SJames Clark        "MetricExpr": "100 * ((1 - op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles)))",
12*ab374400SJames Clark        "BriefDescription": "This metric is the percentage of total slots that executed operations and didn't retire due to a pipeline flush.\nThis indicates cycles that were utilized but inefficiently.",
13556fd664SKan Liang        "DefaultMetricgroupName": "TopdownL1",
14556fd664SKan Liang        "MetricGroup": "Default;TopdownL1",
15a9ff64e5SJing Zhang        "MetricName": "bad_speculation",
16*ab374400SJames Clark        "ScaleUnit": "1percent of slots"
17a9ff64e5SJing Zhang    },
18a9ff64e5SJing Zhang    {
19*ab374400SJames Clark        "MetricExpr": "100 * ((op_retired / op_spec) * (1 - stall_slot / (#slots * cpu_cycles)))",
20*ab374400SJames Clark        "BriefDescription": "This metric is the percentage of total slots that retired operations, which indicates cycles that were utilized efficiently.",
21556fd664SKan Liang        "DefaultMetricgroupName": "TopdownL1",
22556fd664SKan Liang        "MetricGroup": "Default;TopdownL1",
23a9ff64e5SJing Zhang        "MetricName": "retiring",
24*ab374400SJames Clark        "ScaleUnit": "1percent of slots"
25a9ff64e5SJing Zhang    },
26a9ff64e5SJing Zhang    {
27*ab374400SJames Clark        "MetricExpr": "100 * (stall_slot_backend / (#slots * cpu_cycles))",
28*ab374400SJames Clark        "BriefDescription": "This metric is the percentage of total slots that were stalled due to resource constraints in the backend of the processor.",
29556fd664SKan Liang        "DefaultMetricgroupName": "TopdownL1",
30556fd664SKan Liang        "MetricGroup": "Default;TopdownL1",
31a9ff64e5SJing Zhang        "MetricName": "backend_bound",
32*ab374400SJames Clark        "ScaleUnit": "1percent of slots"
33a9ff64e5SJing Zhang    }
34a9ff64e5SJing Zhang]
35