llvm-project/llvm/tools/llvm-mca/Views
Roman Lebedev a5e65c1cf7 [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219)
Summary:
As disscused in https://bugs.llvm.org/show_bug.cgi?id=43219,
i believe it may be somewhat useful to show //some// aggregates
over all the sea of statistics provided.

Example:
```
Average Wait times (based on the timeline view):
[0]: Executions
[1]: Average time spent waiting in a scheduler's queue
[2]: Average time spent waiting in a scheduler's queue while ready
[3]: Average time elapsed from WB until retire stage

      [0]    [1]    [2]    [3]
0.     3     1.0    1.0    4.7       vmulps     %xmm0, %xmm1, %xmm2
1.     3     2.7    0.0    2.3       vhaddps    %xmm2, %xmm2, %xmm3
2.     3     6.0    0.0    0.0       vhaddps    %xmm3, %xmm3, %xmm4
       3     3.2    0.3    2.3       <total>
```
I.e. we average the averages.

Reviewers: andreadb, mattd, RKSimon

Reviewed By: andreadb

Subscribers: gbedwell, arphaman, llvm-commits

Tags: #llvm

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

llvm-svn: 374361
2019-10-10 14:46:21 +00:00
..
BottleneckAnalysis.cpp [MCA] Improved cost computation for loop carried dependencies in the bottleneck analysis. 2019-09-19 16:05:11 +00:00
BottleneckAnalysis.h [MCA] Improved cost computation for loop carried dependencies in the bottleneck analysis. 2019-09-19 16:05:11 +00:00
DispatchStatistics.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DispatchStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstructionInfoView.cpp [MCA] Add flag -show-encoding to llvm-mca. 2019-08-09 11:26:27 +00:00
InstructionInfoView.h [MCA] Add flag -show-encoding to llvm-mca. 2019-08-09 11:26:27 +00:00
RegisterFileStatistics.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegisterFileStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourcePressureView.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ResourcePressureView.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RetireControlUnitStatistics.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RetireControlUnitStatistics.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SchedulerStatistics.cpp [llvm-mca][scheduler-stats] Print issued micro opcodes per cycle. NFCI 2019-04-08 16:05:54 +00:00
SchedulerStatistics.h [llvm-mca][scheduler-stats] Print issued micro opcodes per cycle. NFCI 2019-04-08 16:05:54 +00:00
SummaryView.cpp [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
SummaryView.h [MCA] Moved the bottleneck analysis to its own file. NFCI 2019-04-17 06:02:05 +00:00
TimelineView.cpp [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) 2019-10-10 14:46:21 +00:00
TimelineView.h [MCA] Show aggregate over Average Wait times for the whole snippet (PR43219) 2019-10-10 14:46:21 +00:00
View.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
View.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00