forked from OSchip/llvm-project
[llvm-exegesis] Add pfm counters for Zen2 (znver2).
Summary: There are no counters for individual ports, but this is already enough to find a lot of issues in the current model (upcoming patch). Reviewers: dblaikie, gchatelet Subscribers: hiraditya, tschuett, RKSimon, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72032
This commit is contained in:
parent
97d9a76afc
commit
5b2c5e261f
|
@ -223,3 +223,13 @@ def ZnVer1PfmCounters : ProcPfmCounters {
|
|||
];
|
||||
}
|
||||
def : PfmCountersBinding<"znver1", ZnVer1PfmCounters>;
|
||||
|
||||
def ZnVer2PfmCounters : ProcPfmCounters {
|
||||
let CycleCounter = PfmCounter<"cycles_not_in_halt">;
|
||||
let UopsCounter = PfmCounter<"retired_uops">;
|
||||
let IssueCounters = [
|
||||
PfmIssueCounter<"Zn2AGU", "ls_dispatch:ld_dispatch + ls_dispatch:store_dispatch">,
|
||||
PfmIssueCounter<"Zn2Divider", "div_op_count">
|
||||
];
|
||||
}
|
||||
def : PfmCountersBinding<"znver2", ZnVer2PfmCounters>;
|
||||
|
|
Loading…
Reference in New Issue