tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/metrics.json

Source file repositories/reference/linux-study-clean/tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/metrics.json

File Facts

System
Linux kernel
Corpus path
tools/perf/pmu-events/arch/arm64/arm/neoverse-n1/metrics.json
Extension
.json
Size
12034 bytes
Lines
220
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

[
    {
        "MetricName": "backend_stalled_cycles",
        "MetricExpr": "((STALL_BACKEND / CPU_CYCLES) * 100)",
        "BriefDescription": "This metric is the percentage of cycles that were stalled due to resource constraints in the backend unit of the processor.",
        "MetricGroup": "Cycle_Accounting",
        "ScaleUnit": "1percent of cycles"
    },
    {
        "MetricName": "branch_misprediction_ratio",
        "MetricExpr": "(BR_MIS_PRED_RETIRED / BR_RETIRED)",
        "BriefDescription": "This metric measures the ratio of branches mispredicted to the total number of branches architecturally executed. This gives an indication of the effectiveness of the branch prediction unit.",
        "MetricGroup": "Miss_Ratio;Branch_Effectiveness",
        "ScaleUnit": "1per branch"
    },
    {
        "MetricName": "branch_mpki",
        "MetricExpr": "((BR_MIS_PRED_RETIRED / INST_RETIRED) * 1000)",
        "BriefDescription": "This metric measures the number of branch mispredictions per thousand instructions executed.",
        "MetricGroup": "MPKI;Branch_Effectiveness",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricName": "branch_percentage",
        "MetricExpr": "(((BR_IMMED_SPEC + BR_INDIRECT_SPEC) / INST_SPEC) * 100)",
        "BriefDescription": "This metric measures branch operations as a percentage of operations speculatively executed.",
        "MetricGroup": "Operation_Mix",
        "ScaleUnit": "1percent of operations"
    },
    {
        "MetricName": "crypto_percentage",
        "MetricExpr": "((CRYPTO_SPEC / INST_SPEC) * 100)",
        "BriefDescription": "This metric measures crypto operations as a percentage of operations speculatively executed.",
        "MetricGroup": "Operation_Mix",
        "ScaleUnit": "1percent of operations"
    },
    {
        "MetricName": "dtlb_mpki",
        "MetricExpr": "((DTLB_WALK / INST_RETIRED) * 1000)",
        "BriefDescription": "This metric measures the number of data TLB Walks per thousand instructions executed.",
        "MetricGroup": "MPKI;DTLB_Effectiveness",
        "ScaleUnit": "1MPKI"
    },
    {
        "MetricName": "dtlb_walk_ratio",
        "MetricExpr": "(DTLB_WALK / L1D_TLB)",
        "BriefDescription": "This metric measures the ratio of instruction TLB Walks to the total number of data TLB accesses. This gives an indication of the effectiveness of the data TLB accesses.",
        "MetricGroup": "Miss_Ratio;DTLB_Effectiveness",
        "ScaleUnit": "1per TLB access"
    },
    {
        "MetricName": "frontend_stalled_cycles",
        "MetricExpr": "((STALL_FRONTEND / CPU_CYCLES) * 100)",
        "BriefDescription": "This metric is the percentage of cycles that were stalled due to resource constraints in the frontend unit of the processor.",
        "MetricGroup": "Cycle_Accounting",
        "ScaleUnit": "1percent of cycles"
    },
    {
        "MetricName": "integer_dp_percentage",
        "MetricExpr": "((DP_SPEC / INST_SPEC) * 100)",
        "BriefDescription": "This metric measures scalar integer operations as a percentage of operations speculatively executed.",
        "MetricGroup": "Operation_Mix",
        "ScaleUnit": "1percent of operations"
    },
    {
        "MetricName": "ipc",
        "MetricExpr": "(INST_RETIRED / CPU_CYCLES)",
        "BriefDescription": "This metric measures the number of instructions retired per cycle.",
        "MetricGroup": "General",
        "ScaleUnit": "1per cycle"

Annotation

Implementation Notes