mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 05:57:25 +01:00
18 lines
467 B
Plaintext
18 lines
467 B
Plaintext
|
SHORT Branch prediction miss rate/ratio
|
||
|
|
||
|
EVENTSET
|
||
|
PMC0 BR_INST_EXEC
|
||
|
PMC1 BR_MISSP_EXEC
|
||
|
|
||
|
METRICS
|
||
|
Runtime (RDTSC) [s] time
|
||
|
Branch misprediction ratio PMC1/PMC0
|
||
|
|
||
|
LONG
|
||
|
Formulas:
|
||
|
Branch misprediction ratio = BR_MISSP_EXEC / BR_INST_EXEC
|
||
|
-
|
||
|
The rates state how often on average a branch or a mispredicted branch occurred
|
||
|
per instruction retired in total. The branch misprediction ratio sets directly
|
||
|
into relation what ratio of all branch instruction where mispredicted.
|