lkml.org 
[lkml]   [2022]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v2 6/6] perf vendor events arm64: Add instruction mix metrics for neoverse-n2
Date
Add instruction mix related metrics.

Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
---
.../arch/arm64/arm/neoverse-n2/metrics.json | 63 ++++++++++++++++++++++
1 file changed, 63 insertions(+)

diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
index 3c14971..8ff1dfe 100644
--- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
+++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2/metrics.json
@@ -180,5 +180,68 @@
"BriefDescription": "Utilization of CPU",
"MetricGroup": "PEutilization",
"MetricName": "cpu_utilization"
+ },
+ {
+ "MetricExpr": "LD_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of load instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of load instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "load_spec_rate"
+ },
+ {
+ "MetricExpr": "ST_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of store instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of store instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "store_spec_rate"
+ },
+ {
+ "MetricExpr": "DP_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of integer data-processing instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of integer data-processing instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "date_process_spec_rate"
+ },
+ {
+ "MetricExpr": "ASE_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of advanced SIMD instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of advanced SIMD instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "advanced_simd_spec_rate"
+ },
+ {
+ "MetricExpr": "VFP_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of floating point instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of floating point instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "float_point_spec_rate"
+ },
+ {
+ "MetricExpr": "CRYPTO_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of crypto instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of crypto instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "crypto_spec_rate"
+ },
+ {
+ "MetricExpr": "BR_IMMED_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of branch immediate instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of branch immediate instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "branch_immed_spec_rate"
+ },
+ {
+ "MetricExpr": "BR_RETURN_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of procedure return instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of procedure return instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "branch_return_spec_rate"
+ },
+ {
+ "MetricExpr": "BR_INDIRECT_SPEC / INST_SPEC",
+ "PublicDescription": "The rate of indirect branch instructions speculatively executed to overall instructions speclatively executed",
+ "BriefDescription": "The rate of indirect branch instructions speculatively executed to overall instructions speclatively executed",
+ "MetricGroup": "InstructionMix",
+ "MetricName": "branch_indirect_spec_rate"
}
]
\ No newline at end of file
--
1.8.3.1
\
 
 \ /
  Last update: 2022-11-14 08:44    [W:1.984 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site