[llvm-mca] Improved report generated by the SchedulerStatistics view.
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 27 Aug 2018 14:52:52 +0000 (14:52 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Mon, 27 Aug 2018 14:52:52 +0000 (14:52 +0000)
commitb89b96c1b2791d07f39d37178864cf8bfc0c39e4
treeee4b5467eb22611f800bb902ad537e4665b77679
parent353adf437dbfb0b13f463af3c472fdc001186343
[llvm-mca] Improved report generated by the SchedulerStatistics view.

Before this patch, the SchedulerStatistics only printed the maximum number of
buffer entries consumed in each scheduler's queue at a given point of the
simulation.

This patch restructures the reported table, and adds an extra field named
"Average number of used buffer entries" to it.
This patch also uses different colors to help identifying bottlenecks caused by
high scheduler's buffer pressure.

llvm-svn: 340746
llvm/docs/CommandGuide/llvm-mca.rst
llvm/test/tools/llvm-mca/X86/BtVer2/scheduler-queue-usage.s
llvm/test/tools/llvm-mca/X86/option-all-stats-1.s
llvm/test/tools/llvm-mca/X86/option-all-stats-2.s
llvm/test/tools/llvm-mca/X86/option-all-views-1.s
llvm/test/tools/llvm-mca/X86/option-all-views-2.s
llvm/test/tools/llvm-mca/X86/scheduler-queue-usage.s
llvm/tools/llvm-mca/Views/SchedulerStatistics.cpp
llvm/tools/llvm-mca/Views/SchedulerStatistics.h