summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/BackendStatistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/BackendStatistics.h')
-rw-r--r--llvm/tools/llvm-mca/BackendStatistics.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/tools/llvm-mca/BackendStatistics.h b/llvm/tools/llvm-mca/BackendStatistics.h
index 04fa9125c6c..b38ae451657 100644
--- a/llvm/tools/llvm-mca/BackendStatistics.h
+++ b/llvm/tools/llvm-mca/BackendStatistics.h
@@ -110,14 +110,7 @@ public:
BackendStatistics(const Backend &backend)
: B(backend), NumDispatched(0), NumIssued(0), NumRetired(0), NumCycles(0) {}
- void onInstructionDispatched(unsigned Index) override { NumDispatched++; }
- void
- onInstructionIssued(unsigned Index,
- const llvm::ArrayRef<std::pair<ResourceRef, unsigned>>
- & /* unused */) override {
- NumIssued++;
- }
- void onInstructionRetired(unsigned Index) override { NumRetired++; }
+ void onInstructionEvent(const HWInstructionEvent &Event) override;
void onCycleBegin(unsigned Cycle) override { NumCycles++; }
OpenPOWER on IntegriCloud