tools/perf/pmu-events/arch/powerpc/power9/metrics.json

Source file repositories/reference/linux-study-clean/tools/perf/pmu-events/arch/powerpc/power9/metrics.json

File Facts

System
Linux kernel
Corpus path
tools/perf/pmu-events/arch/powerpc/power9/metrics.json
Extension
.json
Size
84611 bytes
Lines
1864
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

[
    {
        "MetricExpr": "PM_BR_MPRED_CMPL / PM_BR_PRED * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "br_misprediction_percent"
    },
    {
        "BriefDescription": "Count cache branch misprediction per instruction",
        "MetricExpr": "PM_BR_MPRED_CCACHE / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "ccache_mispredict_rate_percent"
    },
    {
        "BriefDescription": "Count cache branch misprediction",
        "MetricExpr": "PM_BR_MPRED_CCACHE / PM_BR_PRED_CCACHE * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "ccache_misprediction_percent"
    },
    {
        "BriefDescription": "Link stack branch misprediction",
        "MetricExpr": "PM_BR_MPRED_LSTACK / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "lstack_mispredict_rate_percent"
    },
    {
        "BriefDescription": "Link stack branch misprediction",
        "MetricExpr": "PM_BR_MPRED_LSTACK/ PM_BR_PRED_LSTACK * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "lstack_misprediction_percent"
    },
    {
        "BriefDescription": "% Branches Taken",
        "MetricExpr": "PM_BR_TAKEN_CMPL * 100 / PM_BRU_FIN",
        "MetricGroup": "branch_prediction",
        "MetricName": "taken_branches_percent"
    },
    {
        "BriefDescription": "Completion stall due to a Branch Unit",
        "MetricExpr": "PM_CMPLU_STALL_BRU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "bru_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was routed to the crypto execution pipe and was waiting to finish",
        "MetricExpr": "PM_CMPLU_STALL_CRYPTO/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "crypto_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load that missed the L1 and was waiting for the data to return from the nest",
        "MetricExpr": "PM_CMPLU_STALL_DCACHE_MISS/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dcache_miss_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a multi-cycle instruction issued to the Decimal Floating Point execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_DFLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dflong_stall_cpi"
    },
    {
        "BriefDescription": "Stalls due to short latency decimal floating ops.",
        "MetricExpr": "dfu_stall_cpi - dflong_stall_cpi",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dfu_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was issued to the Decimal Floating Point execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_DFU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",

Annotation

Implementation Notes