summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp')
-rw-r--r--llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp b/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
index 5d3632f14a4..edb855e11e8 100644
--- a/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
+++ b/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp
@@ -19,8 +19,7 @@ using namespace llvm;
namespace mca {
-void RetireControlUnitStatistics::onInstructionEvent(
- const HWInstructionEvent &Event) {
+void RetireControlUnitStatistics::onEvent(const HWInstructionEvent &Event) {
if (Event.Type == HWInstructionEvent::Retired)
++NumRetired;
}
OpenPOWER on IntegriCloud