summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/Views/SummaryView.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-mca/Views/SummaryView.h')
-rw-r--r--llvm/tools/llvm-mca/Views/SummaryView.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/Views/SummaryView.h b/llvm/tools/llvm-mca/Views/SummaryView.h
index dbccdd39cea..ff3f6921500 100644
--- a/llvm/tools/llvm-mca/Views/SummaryView.h
+++ b/llvm/tools/llvm-mca/Views/SummaryView.h
@@ -84,6 +84,9 @@ class SummaryView : public View {
// True if throughput was affected by dispatch stalls.
bool SeenStallCycles;
+ // True if the bottleneck analysis should be displayed.
+ bool ShouldEmitBottleneckAnalysis;
+
// Compute the reciprocal throughput for the analyzed code block.
// The reciprocal block throughput is computed as the MAX between:
// - NumMicroOps / DispatchWidth
@@ -95,7 +98,7 @@ class SummaryView : public View {
public:
SummaryView(const llvm::MCSchedModel &Model, llvm::ArrayRef<llvm::MCInst> S,
- unsigned Width);
+ unsigned Width, bool EmitBottleneckAnalysis);
void onCycleEnd() override {
++TotalCycles;
OpenPOWER on IntegriCloud