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

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

File Facts

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

[
    {
        "BriefDescription": "% of finished branches that were treated as BC+8",
        "MetricExpr": "PM_BR_BC_8_CONV / PM_BRU_FIN * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "bc_8_branch_ratio_percent"
    },
    {
        "BriefDescription": "% of finished branches that were pairable but not treated as BC+8",
        "MetricExpr": "PM_BR_BC_8 / PM_BRU_FIN * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "bc_8_not_converted_branch_ratio_percent"
    },
    {
        "BriefDescription": "Percent of mispredicted branches out of all predicted (correctly and incorrectly) branches that completed",
        "MetricExpr": "PM_BR_MPRED_CMPL / (PM_BR_PRED_BR0 + PM_BR_PRED_BR1) * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "br_misprediction_percent"
    },
    {
        "BriefDescription": "% of Branch miss predictions per instruction",
        "MetricExpr": "PM_BR_MPRED_CMPL / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "branch_mispredict_rate_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": "Percent of count catch mispredictions out of all completed branches that required count cache predictionn",
        "MetricExpr": "PM_BR_MPRED_CCACHE / (PM_BR_PRED_CCACHE_BR0 + PM_BR_PRED_CCACHE_BR1) * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "ccache_misprediction_percent"
    },
    {
        "BriefDescription": "CR MisPredictions per Instruction",
        "MetricExpr": "PM_BR_MPRED_CR / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "cr_mispredict_rate_percent"
    },
    {
        "BriefDescription": "Link stack branch misprediction",
        "MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "lstack_mispredict_rate_percent"
    },
    {
        "BriefDescription": "Percent of link stack mispredictions out of all completed branches that required link stack prediction",
        "MetricExpr": "(PM_BR_MPRED_TA - PM_BR_MPRED_CCACHE) / (PM_BR_PRED_LSTACK_BR0 + PM_BR_PRED_LSTACK_BR1) * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "lstack_misprediction_percent"
    },
    {
        "BriefDescription": "TA MisPredictions per Instruction",
        "MetricExpr": "PM_BR_MPRED_TA / PM_RUN_INST_CMPL * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "ta_mispredict_rate_percent"
    },
    {
        "BriefDescription": "Percent of target address mispredictions out of all completed branches that required address prediction",
        "MetricExpr": "PM_BR_MPRED_TA / (PM_BR_PRED_CCACHE_BR0 + PM_BR_PRED_CCACHE_BR1 + PM_BR_PRED_LSTACK_BR0 + PM_BR_PRED_LSTACK_BR1) * 100",
        "MetricGroup": "branch_prediction",
        "MetricName": "ta_misprediction_percent"
    },
    {
        "BriefDescription": "Percent of branches completed that were taken",
        "MetricExpr": "PM_BR_TAKEN_CMPL * 100 / PM_BR_CMPL",

Annotation

Implementation Notes