llvm-project/llvm/tools/llvm-mca/Views
Matt Davis db834837c2 [llvm-mca] Delay calculation of Cycles per Resources, separate the cycles and resource quantities.
Summary:
This patch removes the storing of accumulated floating point data 
within the llvm-mca library.

This patch splits-up the two quantities: cycles and number of resource units.
By splitting-up these two quantities, we delay the calculation of "cycles per resource unit"
until that value is read, reducing the chance of accumulating floating point error. 

I considered using the APFloat, but after measuring performance, for a large (many iteration)
sample, I decided to go with this faster solution.

Reviewers: andreadb, courbet, RKSimon

Reviewed By: andreadb

Subscribers: llvm-commits, javed.absar, tschuett, gbedwell

Differential Revision: https://reviews.llvm.org/D51903

llvm-svn: 341980
2018-09-11 18:47:48 +00:00
..
DispatchStatistics.cpp [llvm-mca] Report the number of dispatched micro opcodes in the DispatchStatistics view. 2018-08-30 10:50:20 +00:00
DispatchStatistics.h [llvm-mca] Report the number of dispatched micro opcodes in the DispatchStatistics view. 2018-08-30 10:50:20 +00:00
InstructionInfoView.cpp
InstructionInfoView.h
RegisterFileStatistics.cpp
RegisterFileStatistics.h
ResourcePressureView.cpp [llvm-mca] Delay calculation of Cycles per Resources, separate the cycles and resource quantities. 2018-09-11 18:47:48 +00:00
ResourcePressureView.h [llvm-mca] Delay calculation of Cycles per Resources, separate the cycles and resource quantities. 2018-09-11 18:47:48 +00:00
RetireControlUnitStatistics.cpp
RetireControlUnitStatistics.h
SchedulerStatistics.cpp [llvm-mca] Pass an instruction reference when notifying event listeners about reserved/released buffer resources. NFC 2018-08-28 13:14:42 +00:00
SchedulerStatistics.h [llvm-mca] Pass an instruction reference when notifying event listeners about reserved/released buffer resources. NFC 2018-08-28 13:14:42 +00:00
SummaryView.cpp [llvm-mca] Report the number of dispatched micro opcodes in the DispatchStatistics view. 2018-08-30 10:50:20 +00:00
SummaryView.h
TimelineView.cpp [llvm-mca] correctly initialize field 'CycleRetired' in the TimelineView. 2018-08-30 11:17:58 +00:00
TimelineView.h [llvm-mca] Report the number of dispatched micro opcodes in the DispatchStatistics view. 2018-08-30 10:50:20 +00:00
View.cpp
View.h