summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/DispatchStatistics.h
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-mca] Move views and stats into a Views subdir. NFC.Matt Davis2018-08-241-84/+0
| | | | llvm-svn: 340645
* [llvm-mca] Simplify eventing by adding an onEvent templated method.Matt Davis2018-07-121-3/+3
| | | | | | | | | | | | | | | | | | | | Summary: This patch eliminates some redundancy in iterating across Listeners for the Instruction and Stall HWEvents, by introducing a template onEvent routine. This change was suggested by @courbet in https://reviews.llvm.org/D48576. I hope that this patch addresses that suggestion appropriately. I do like this change better than what we had previously. Reviewers: andreadb, courbet, RKSimon Reviewed By: andreadb, courbet Subscribers: javed.absar, tschuett, gbedwell, llvm-commits, courbet Differential Revision: https://reviews.llvm.org/D48672 llvm-svn: 336916
* [llvm-mca] Use an ordered map to collect hardware statistics. NFC.Andrea Di Biagio2018-06-181-2/+2
| | | | | | | Histogram entries are now ordered by key. This should improves their readability when statistics are printed. llvm-svn: 334961
* [llvm-mca] run clang-format on a bunch of files. NFCAndrea Di Biagio2018-04-251-1/+2
| | | | llvm-svn: 330811
* [llvm-mca] Removed unused argument from cycleEvent. NFCAndrea Di Biagio2018-04-121-2/+2
| | | | llvm-svn: 329895
* [llvm-mca] Minor code cleanup. NFCAndrea Di Biagio2018-04-111-13/+5
| | | | llvm-svn: 329796
* [llvm-mca] Move the logic that prints dispatch unit statistics from ↵Andrea Di Biagio2018-04-101-0/+91
BackendStatistics to its own view. This patch moves the logic that collects and analyzes dispatch events to the DispatchStatistics view. Added flag -dispatch-stats to print statistics related to the dispatch logic. llvm-svn: 329708
OpenPOWER on IntegriCloud