diff options
Diffstat (limited to 'llvm/tools/llvm-mca/TimelineView.h')
-rw-r--r-- | llvm/tools/llvm-mca/TimelineView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/TimelineView.h b/llvm/tools/llvm-mca/TimelineView.h index 3ee448699e6..6ec373dd38b 100644 --- a/llvm/tools/llvm-mca/TimelineView.h +++ b/llvm/tools/llvm-mca/TimelineView.h @@ -162,7 +162,7 @@ public: } // Event handlers. - void onCycleBegin(unsigned Cycle) override { CurrentCycle = Cycle; } + void onCycleEnd() override { ++CurrentCycle; } void onInstructionEvent(const HWInstructionEvent &Event) override; // print functionalities. |