mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-12 21:17:25 +01:00
27 lines
731 B
Plaintext
27 lines
731 B
Plaintext
SHORT Cycles per instruction
|
|
|
|
EVENTSET
|
|
PMC0 RETIRED_INSTRUCTIONS
|
|
PMC1 CPU_CLOCKS_UNHALTED
|
|
PMC2 RETIRED_UOPS
|
|
|
|
METRICS
|
|
Runtime (RDTSC) [s] time
|
|
Runtime unhalted [s] PMC1*inverseClock
|
|
CPI PMC1/PMC0
|
|
CPI (based on uops) PMC1/PMC2
|
|
IPC PMC0/PMC1
|
|
|
|
LONG
|
|
Formulas:
|
|
CPI = CPU_CLOCKS_UNHALTED/RETIRED_INSTRUCTIONS
|
|
CPI (based on uops) = CPU_CLOCKS_UNHALTED/RETIRED_UOPS
|
|
IPC = RETIRED_INSTRUCTIONS/CPU_CLOCKS_UNHALTED
|
|
-
|
|
This group measures how efficient the processor works with
|
|
regard to instruction throughput. Also important as a standalone
|
|
metric is RETIRED_INSTRUCTIONS as it tells you how many instruction
|
|
you need to execute for a task. An optimization might show very
|
|
low CPI values but execute many more instruction for it.
|
|
|