summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/powerpc/power9/metrics.json
blob: cd46ebb8da6abb63635b6dd0d7d8d0d30f91de98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
[
    {
        "BriefDescription": "Completion stall due to a Branch Unit",
        "MetricExpr": "PM_CMPLU_STALL_BRU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "bru_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was routed to the crypto execution pipe and was waiting to finish",
        "MetricExpr": "PM_CMPLU_STALL_CRYPTO/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "crypto_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load that missed the L1 and was waiting for the data to return from the nest",
        "MetricExpr": "PM_CMPLU_STALL_DCACHE_MISS/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dcache_miss_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a multi-cycle instruction issued to the Decimal Floating Point execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_DFLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dflong_stall_cpi"
    },
    {
        "BriefDescription": "Stalls due to short latency decimal floating ops.",
        "MetricExpr": "(PM_CMPLU_STALL_DFU - PM_CMPLU_STALL_DFLONG)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dfu_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was issued to the Decimal Floating Point execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_DFU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dfu_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by Dcache miss which resolved off node memory/cache",
        "MetricExpr": "(PM_CMPLU_STALL_DMISS_L3MISS - PM_CMPLU_STALL_DMISS_L21_L31 - PM_CMPLU_STALL_DMISS_LMEM - PM_CMPLU_STALL_DMISS_REMOTE)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_distant_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by Dcache miss which resolved on chip ( excluding local L2/L3)",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_L21_L31/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_l21_l31_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to cache miss that resolves in the L2 or L3 with a conflict",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_L2L3_CONFLICT/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_l2l3_conflict_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to cache miss that resolves in the L2 or L3 without conflict",
        "MetricExpr": "(PM_CMPLU_STALL_DMISS_L2L3 - PM_CMPLU_STALL_DMISS_L2L3_CONFLICT)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_l2l3_noconflict_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by Dcache miss which resolved in L2/L3",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_L2L3/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_l2l3_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to cache miss resolving missed the L3",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_L3MISS/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_l3miss_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to cache miss that resolves in local memory",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_LMEM/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_lmem_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by Dcache miss which resolved outside of local memory",
        "MetricExpr": "(PM_CMPLU_STALL_DMISS_L3MISS - PM_CMPLU_STALL_DMISS_L21_L31 - PM_CMPLU_STALL_DMISS_LMEM)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_non_local_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by Dcache miss which resolved from remote chip (cache or memory)",
        "MetricExpr": "PM_CMPLU_STALL_DMISS_REMOTE/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dmiss_remote_stall_cpi"
    },
    {
        "BriefDescription": "Stalls due to short latency double precision ops.",
        "MetricExpr": "(PM_CMPLU_STALL_DP - PM_CMPLU_STALL_DPLONG)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dp_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a scalar instruction issued to the Double Precision execution pipe and waiting to finish. Includes binary floating point instructions in 32 and 64 bit binary floating point format.",
        "MetricExpr": "PM_CMPLU_STALL_DP/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dp_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a scalar multi-cycle instruction issued to the Double Precision execution pipe and waiting to finish. Includes binary floating point instructions in 32 and 64 bit binary floating point format.",
        "MetricExpr": "PM_CMPLU_STALL_DPLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "dplong_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction is an EIEIO waiting for response from L2",
        "MetricExpr": "PM_CMPLU_STALL_EIEIO/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "eieio_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the next to finish instruction suffered an ERAT miss and the EMQ was full",
        "MetricExpr": "PM_CMPLU_STALL_EMQ_FULL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "emq_full_stall_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_ERAT_MISS + PM_CMPLU_STALL_EMQ_FULL)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "emq_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load or store that suffered a translation miss",
        "MetricExpr": "PM_CMPLU_STALL_ERAT_MISS/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "erat_miss_stall_cpi"
    },
    {
        "BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because it was interrupted by ANY exception, which has to be serviced before the instruction can complete",
        "MetricExpr": "PM_CMPLU_STALL_EXCEPTION/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "exception_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to execution units for other reasons.",
        "MetricExpr": "(PM_CMPLU_STALL_EXEC_UNIT - PM_CMPLU_STALL_FXU - PM_CMPLU_STALL_DP - PM_CMPLU_STALL_DFU - PM_CMPLU_STALL_PM - PM_CMPLU_STALL_CRYPTO - PM_CMPLU_STALL_VFXU - PM_CMPLU_STALL_VDP)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "exec_unit_other_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to execution units (FXU/VSU/CRU)",
        "MetricExpr": "PM_CMPLU_STALL_EXEC_UNIT/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "exec_unit_stall_cpi"
    },
    {
        "BriefDescription": "Cycles in which the NTC instruction is not allowed to complete because any of the 4 threads in the same core suffered a flush, which blocks completion",
        "MetricExpr": "PM_CMPLU_STALL_FLUSH_ANY_THREAD/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "flush_any_thread_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to a long latency scalar fixed point instruction (division, square root)",
        "MetricExpr": "PM_CMPLU_STALL_FXLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "fxlong_stall_cpi"
    },
    {
        "BriefDescription": "Stalls due to short latency integer ops",
        "MetricExpr": "(PM_CMPLU_STALL_FXU - PM_CMPLU_STALL_FXLONG)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "fxu_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall due to a scalar fixed point or CR instruction in the execution pipeline. These instructions get routed to the ALU, ALU2, and DIV pipes",
        "MetricExpr": "PM_CMPLU_STALL_FXU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "fxu_stall_cpi"
    },
    {
        "MetricExpr": "(PM_NTC_ISSUE_HELD_DARQ_FULL + PM_NTC_ISSUE_HELD_ARB + PM_NTC_ISSUE_HELD_OTHER)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "issue_hold_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a larx waiting to be satisfied",
        "MetricExpr": "PM_CMPLU_STALL_LARX/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "larx_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load that hit on an older store and it was waiting for store data",
        "MetricExpr": "PM_CMPLU_STALL_LHS/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lhs_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load that missed in the L1 and the LMQ was unable to accept this load miss request because it was full",
        "MetricExpr": "PM_CMPLU_STALL_LMQ_FULL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lmq_full_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load instruction with all its dependencies satisfied just going through the LSU pipe to finish",
        "MetricExpr": "PM_CMPLU_STALL_LOAD_FINISH/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "load_finish_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load that was held in LSAQ because the LRQ was full",
        "MetricExpr": "PM_CMPLU_STALL_LRQ_FULL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lrq_full_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall due to LRQ miscellaneous reasons, lost arbitration to LMQ slot, bank collisions, set prediction cleanup, set prediction multihit and others",
        "MetricExpr": "PM_CMPLU_STALL_LRQ_OTHER/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lrq_other_stall_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_LMQ_FULL + PM_CMPLU_STALL_ST_FWD + PM_CMPLU_STALL_LHS + PM_CMPLU_STALL_LSU_MFSPR + PM_CMPLU_STALL_LARX + PM_CMPLU_STALL_LRQ_OTHER)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lrq_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a load or store that was held in LSAQ because an older instruction from SRQ or LRQ won arbitration to the LSU pipe when this instruction tried to launch",
        "MetricExpr": "PM_CMPLU_STALL_LSAQ_ARB/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsaq_arb_stall_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_LRQ_FULL + PM_CMPLU_STALL_SRQ_FULL + PM_CMPLU_STALL_LSAQ_ARB)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsaq_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was an LSU op (other than a load or a store) with all its dependencies met and just going through the LSU pipe to finish",
        "MetricExpr": "PM_CMPLU_STALL_LSU_FIN/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsu_fin_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall of one cycle because the LSU requested to flush the next iop in the sequence. It takes 1 cycle for the ISU to process this request before the LSU instruction is allowed to complete",
        "MetricExpr": "PM_CMPLU_STALL_LSU_FLUSH_NEXT/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsu_flush_next_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a mfspr instruction targeting an LSU SPR and it was waiting for the register data to be returned",
        "MetricExpr": "PM_CMPLU_STALL_LSU_MFSPR/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsu_mfspr_stall_cpi"
    },
    {
        "BriefDescription": "Completion LSU stall for other reasons",
        "MetricExpr": "(PM_CMPLU_STALL_LSU - PM_CMPLU_STALL_LSU_FIN - PM_CMPLU_STALL_STORE_FINISH - PM_CMPLU_STALL_STORE_DATA - PM_CMPLU_STALL_EIEIO - PM_CMPLU_STALL_STCX - PM_CMPLU_STALL_SLB - PM_CMPLU_STALL_TEND - PM_CMPLU_STALL_PASTE - PM_CMPLU_STALL_TLBIE - PM_CMPLU_STALL_STORE_PIPE_ARB - PM_CMPLU_STALL_STORE_FIN_ARB - PM_CMPLU_STALL_LOAD_FINISH + PM_CMPLU_STALL_DCACHE_MISS - PM_CMPLU_STALL_LMQ_FULL - PM_CMPLU_STALL_ST_FWD - PM_CMPLU_STALL_LHS - PM_CMPLU_STALL_LSU_MFSPR - PM_CMPLU_STALL_LARX - PM_CMPLU_STALL_LRQ_OTHER + PM_CMPLU_STALL_ERAT_MISS + PM_CMPLU_STALL_EMQ_FULL - PM_CMPLU_STALL_LRQ_FULL - PM_CMPLU_STALL_SRQ_FULL - PM_CMPLU_STALL_LSAQ_ARB) / PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsu_other_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall by LSU instruction",
        "MetricExpr": "PM_CMPLU_STALL_LSU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "lsu_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall because the ISU is updating the register and notifying the Effective Address Table (EAT)",
        "MetricExpr": "PM_CMPLU_STALL_MTFPSCR/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "mtfpscr_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall because the ISU is updating the TEXASR to keep track of the nested tbegin. This is a short delay, and it includes ROT",
        "MetricExpr": "PM_CMPLU_STALL_NESTED_TBEGIN/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "nested_tbegin_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall because the ISU is updating the TEXASR to keep track of the nested tend and decrement the TEXASR nested level. This is a short delay",
        "MetricExpr": "PM_CMPLU_STALL_NESTED_TEND/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "nested_tend_stall_cpi"
    },
    {
        "BriefDescription": "Number of cycles the ICT has no itags assigned to this thread",
        "MetricExpr": "PM_ICT_NOSLOT_CYC/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "nothing_dispatched_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was one that must finish at dispatch.",
        "MetricExpr": "PM_CMPLU_STALL_NTC_DISP_FIN/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_disp_fin_stall_cpi"
    },
    {
        "BriefDescription": "Cycles in which the oldest instruction in the pipeline (NTC) finishes. This event is used to account for cycles in which work is being completed in the CPI stack",
        "MetricExpr": "PM_NTC_FIN/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_fin_cpi"
    },
    {
        "BriefDescription": "Completion stall due to ntc flush",
        "MetricExpr": "PM_CMPLU_STALL_NTC_FLUSH/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_flush_stall_cpi"
    },
    {
        "BriefDescription": "The NTC instruction is being held at dispatch because it lost arbitration onto the issue pipe to another instruction (from the same thread or a different thread)",
        "MetricExpr": "PM_NTC_ISSUE_HELD_ARB/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_issue_held_arb_cpi"
    },
    {
        "BriefDescription": "The NTC instruction is being held at dispatch because there are no slots in the DARQ for it",
        "MetricExpr": "PM_NTC_ISSUE_HELD_DARQ_FULL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_issue_held_darq_full_cpi"
    },
    {
        "BriefDescription": "The NTC instruction is being held at dispatch during regular pipeline cycles, or because the VSU is busy with multi-cycle instructions, or because of a write-back collision with VSU",
        "MetricExpr": "PM_NTC_ISSUE_HELD_OTHER/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "ntc_issue_held_other_cpi"
    },
    {
        "BriefDescription": "Cycles unaccounted for.",
        "MetricExpr": "(PM_RUN_CYC - PM_1PLUS_PPC_CMPL - PM_CMPLU_STALL_THRD - PM_CMPLU_STALL - PM_ICT_NOSLOT_CYC)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "other_cpi"
    },
    {
        "BriefDescription": "Completion stall for other reasons",
        "MetricExpr": "PM_CMPLU_STALL - PM_CMPLU_STALL_NTC_DISP_FIN - PM_CMPLU_STALL_NTC_FLUSH - PM_CMPLU_STALL_LSU - PM_CMPLU_STALL_EXEC_UNIT - PM_CMPLU_STALL_BRU)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a paste waiting for response from L2",
        "MetricExpr": "PM_CMPLU_STALL_PASTE/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "paste_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was issued to the Permute execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_PM/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "pm_stall_cpi"
    },
    {
        "BriefDescription": "Run cycles per run instruction",
        "MetricExpr": "PM_RUN_CYC / PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "run_cpi"
    },
    {
        "BriefDescription": "Run_cycles",
        "MetricExpr": "PM_RUN_CYC/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "run_cyc_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_FXU + PM_CMPLU_STALL_DP + PM_CMPLU_STALL_DFU + PM_CMPLU_STALL_PM + PM_CMPLU_STALL_CRYPTO)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "scalar_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was awaiting L2 response for an SLB",
        "MetricExpr": "PM_CMPLU_STALL_SLB/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "slb_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall while waiting for the non-speculative finish of either a stcx waiting for its result or a load waiting for non-critical sectors of data and ECC",
        "MetricExpr": "PM_CMPLU_STALL_SPEC_FINISH/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "spec_finish_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a store that was held in LSAQ because the SRQ was full",
        "MetricExpr": "PM_CMPLU_STALL_SRQ_FULL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "srq_full_stall_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_STORE_DATA + PM_CMPLU_STALL_EIEIO + PM_CMPLU_STALL_STCX + PM_CMPLU_STALL_SLB + PM_CMPLU_STALL_TEND + PM_CMPLU_STALL_PASTE + PM_CMPLU_STALL_TLBIE + PM_CMPLU_STALL_STORE_PIPE_ARB + PM_CMPLU_STALL_STORE_FIN_ARB)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "srq_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to store forward",
        "MetricExpr": "PM_CMPLU_STALL_ST_FWD/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "st_fwd_stall_cpi"
    },
    {
        "BriefDescription": "Nothing completed and ICT not empty",
        "MetricExpr": "PM_CMPLU_STALL/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a stcx waiting for response from L2",
        "MetricExpr": "PM_CMPLU_STALL_STCX/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "stcx_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the next to finish instruction was a store waiting on data",
        "MetricExpr": "PM_CMPLU_STALL_STORE_DATA/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "store_data_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a store waiting for a slot in the store finish pipe. This means the instruction is ready to finish but there are instructions ahead of it, using the finish pipe",
        "MetricExpr": "PM_CMPLU_STALL_STORE_FIN_ARB/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "store_fin_arb_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a store with all its dependencies met, just waiting to go through the LSU pipe to finish",
        "MetricExpr": "PM_CMPLU_STALL_STORE_FINISH/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "store_finish_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a store waiting for the next relaunch opportunity after an internal reject. This means the instruction is ready to relaunch and tried once but lost arbitration",
        "MetricExpr": "PM_CMPLU_STALL_STORE_PIPE_ARB/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "store_pipe_arb_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a tend instruction awaiting response from L2",
        "MetricExpr": "PM_CMPLU_STALL_TEND/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "tend_stall_cpi"
    },
    {
        "BriefDescription": "Completion Stalled because the thread was blocked",
        "MetricExpr": "PM_CMPLU_STALL_THRD/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "thread_block_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a tlbie waiting for response from L2",
        "MetricExpr": "PM_CMPLU_STALL_TLBIE/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "tlbie_stall_cpi"
    },
    {
        "BriefDescription": "Vector stalls due to small latency double precision ops",
        "MetricExpr": "(PM_CMPLU_STALL_VDP - PM_CMPLU_STALL_VDPLONG)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vdp_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a vector instruction issued to the Double Precision execution pipe and waiting to finish.",
        "MetricExpr": "PM_CMPLU_STALL_VDP/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vdp_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall because the NTF instruction was a scalar multi-cycle instruction issued to the Double Precision execution pipe and waiting to finish. Includes binary floating point instructions in 32 and 64 bit binary floating point format.",
        "MetricExpr": "PM_CMPLU_STALL_VDPLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vdplong_stall_cpi"
    },
    {
        "MetricExpr": "(PM_CMPLU_STALL_VFXU + PM_CMPLU_STALL_VDP)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vector_stall_cpi"
    },
    {
        "BriefDescription": "Completion stall due to a long latency vector fixed point instruction (division, square root)",
        "MetricExpr": "PM_CMPLU_STALL_VFXLONG/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vfxlong_stall_cpi"
    },
    {
        "BriefDescription": "Vector stalls due to small latency integer ops",
        "MetricExpr": "(PM_CMPLU_STALL_VFXU - PM_CMPLU_STALL_VFXLONG)/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vfxu_other_stall_cpi"
    },
    {
        "BriefDescription": "Finish stall due to a vector fixed point instruction in the execution pipeline. These instructions get routed to the ALU, ALU2, and DIV pipes",
        "MetricExpr": "PM_CMPLU_STALL_VFXU/PM_RUN_INST_CMPL",
        "MetricGroup": "cpi_breakdown",
        "MetricName": "vfxu_stall_cpi"
    },
    {
        "BriefDescription": "estimate of dl2l3 distant MOD miss rates with measured DL2L3 MOD latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_DL2L3_MOD * PM_MRK_DATA_FROM_DL2L3_MOD_CYC / PM_MRK_DATA_FROM_DL2L3_MOD / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "dl2l3_mod_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl2l3 distant SHR miss rates with measured DL2L3 SHR latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_DL2L3_SHR * PM_MRK_DATA_FROM_DL2L3_SHR_CYC / PM_MRK_DATA_FROM_DL2L3_SHR / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "dl2l3_shr_cpi_percent"
    },
    {
        "BriefDescription": "estimate of distant L4 miss rates with measured DL4 latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_DL4 * PM_MRK_DATA_FROM_DL4_CYC / PM_MRK_DATA_FROM_DL4 / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "dl4_cpi_percent"
    },
    {
        "BriefDescription": "estimate of distant memory miss rates with measured DMEM latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_DMEM * PM_MRK_DATA_FROM_DMEM_CYC / PM_MRK_DATA_FROM_DMEM / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "dmem_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl21 MOD miss rates with measured L21 MOD latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L21_MOD * PM_MRK_DATA_FROM_L21_MOD_CYC / PM_MRK_DATA_FROM_L21_MOD / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l21_mod_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl21 SHR miss rates with measured L21 SHR latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L21_SHR * PM_MRK_DATA_FROM_L21_SHR_CYC / PM_MRK_DATA_FROM_L21_SHR / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l21_shr_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl2 miss rates with measured L2 latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L2 * PM_MRK_DATA_FROM_L2_CYC / PM_MRK_DATA_FROM_L2 / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l2_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl31 MOD miss rates with measured L31 MOD latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L31_MOD * PM_MRK_DATA_FROM_L31_MOD_CYC / PM_MRK_DATA_FROM_L31_MOD / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l31_mod_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl31 SHR miss rates with measured L31 SHR latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L31_SHR * PM_MRK_DATA_FROM_L31_SHR_CYC / PM_MRK_DATA_FROM_L31_SHR / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l31_shr_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl3 miss rates with measured L3 latency as a % of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_L3 * PM_MRK_DATA_FROM_L3_CYC / PM_MRK_DATA_FROM_L3 / PM_CMPLU_STALL_DCACHE_MISS * 100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "l3_cpi_percent"
    },
    {
        "BriefDescription": "estimate of Local memory miss rates with measured LMEM latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_LMEM * PM_MRK_DATA_FROM_LMEM_CYC / PM_MRK_DATA_FROM_LMEM / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "lmem_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl2l3 remote MOD miss rates with measured RL2L3 MOD latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_RL2L3_MOD * PM_MRK_DATA_FROM_RL2L3_MOD_CYC / PM_MRK_DATA_FROM_RL2L3_MOD / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "rl2l3_mod_cpi_percent"
    },
    {
        "BriefDescription": "estimate of dl2l3 shared miss rates with measured RL2L3 SHR latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_RL2L3_SHR * PM_MRK_DATA_FROM_RL2L3_SHR_CYC / PM_MRK_DATA_FROM_RL2L3_SHR / PM_CMPLU_STALL_DCACHE_MISS * 100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "rl2l3_shr_cpi_percent"
    },
    {
        "BriefDescription": "estimate of remote L4 miss rates with measured RL4 latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_RL4 * PM_MRK_DATA_FROM_RL4_CYC / PM_MRK_DATA_FROM_RL4 / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "rl4_cpi_percent"
    },
    {
        "BriefDescription": "estimate of remote memory miss rates with measured RMEM latency as a %of dcache miss cpi",
        "MetricExpr": "PM_DATA_FROM_RMEM * PM_MRK_DATA_FROM_RMEM_CYC / PM_MRK_DATA_FROM_RMEM / PM_CMPLU_STALL_DCACHE_MISS *100",
        "MetricGroup": "estimated_dcache_miss_cpi",
        "MetricName": "rmem_cpi_percent"
    }
]