mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-14 22:17:26 +01:00
23 lines
539 B
Plaintext
23 lines
539 B
Plaintext
|
SHORT Cycles per instruction
|
||
|
|
||
|
EVENTSET
|
||
|
PMC0 UOPS_RETIRED
|
||
|
PMC1 CPU_CLK_UNHALTED
|
||
|
|
||
|
METRICS
|
||
|
Runtime (RDTSC) [s] time
|
||
|
CPI PMC1/PMC0
|
||
|
IPC PMC0/PMC1
|
||
|
|
||
|
LONG
|
||
|
Formulas:
|
||
|
CPI = CPU_CLK_UNHALTED/UOPS_RETIRED
|
||
|
IPC = UOPS_RETIRED/CPU_CLK_UNHALTED
|
||
|
-
|
||
|
This group measures how efficient the processor works with
|
||
|
regard to instruction throughput. Also important as a standalone
|
||
|
metric is UOPS_RETIRED as it tells you how many uops
|
||
|
you need to execute for a task. An optimization might show very
|
||
|
low CPI values but execute many more instruction for it.
|
||
|
|