summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/Backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/Backend.cpp')
-rw-r--r--llvm/tools/llvm-mca/Backend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mca/Backend.cpp b/llvm/tools/llvm-mca/Backend.cpp
index d0afa45461c..dbe20125102 100644
--- a/llvm/tools/llvm-mca/Backend.cpp
+++ b/llvm/tools/llvm-mca/Backend.cpp
@@ -52,10 +52,10 @@ void Backend::runCycle(unsigned Cycle) {
void Backend::notifyCycleBegin(unsigned Cycle) {
DEBUG(dbgs() << "[E] Cycle begin: " << Cycle << '\n');
for (HWEventListener *Listener : Listeners)
- Listener->onCycleBegin(Cycle);
+ Listener->onCycleBegin();
- DU->cycleEvent(Cycle);
- HWS->cycleEvent(Cycle);
+ DU->cycleEvent();
+ HWS->cycleEvent();
}
void Backend::notifyInstructionEvent(const HWInstructionEvent &Event) {
@@ -88,6 +88,6 @@ void Backend::notifyReleasedBuffers(ArrayRef<unsigned> Buffers) {
void Backend::notifyCycleEnd(unsigned Cycle) {
DEBUG(dbgs() << "[E] Cycle end: " << Cycle << "\n\n");
for (HWEventListener *Listener : Listeners)
- Listener->onCycleEnd(Cycle);
+ Listener->onCycleEnd();
}
} // namespace mca.
OpenPOWER on IntegriCloud