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