summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/DispatchStatistics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/DispatchStatistics.cpp')
-rw-r--r--llvm/tools/llvm-mca/DispatchStatistics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/DispatchStatistics.cpp b/llvm/tools/llvm-mca/DispatchStatistics.cpp
index da852454e8f..4bddbef9a0c 100644
--- a/llvm/tools/llvm-mca/DispatchStatistics.cpp
+++ b/llvm/tools/llvm-mca/DispatchStatistics.cpp
@@ -20,12 +20,12 @@ using namespace llvm;
namespace mca {
-void DispatchStatistics::onStallEvent(const HWStallEvent &Event) {
+void DispatchStatistics::onEvent(const HWStallEvent &Event) {
if (Event.Type < HWStallEvent::LastGenericEvent)
HWStalls[Event.Type]++;
}
-void DispatchStatistics::onInstructionEvent(const HWInstructionEvent &Event) {
+void DispatchStatistics::onEvent(const HWInstructionEvent &Event) {
if (Event.Type == HWInstructionEvent::Dispatched)
++NumDispatched;
}
OpenPOWER on IntegriCloud