Skip to content

Commit

Permalink
update formatting in resultsdisassemblypage
Browse files Browse the repository at this point in the history
  • Loading branch information
lievenhey authored and milianw committed Jun 1, 2023
1 parent f40c9ae commit 2ab5805
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/resultsdisassemblypage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,17 +310,18 @@ void ResultsDisassemblyPage::showDisassembly(const DisassemblyOutput& disassembl

ResultsUtil::hideEmptyColumns(m_callerCalleeResults.selfCosts, ui->assemblyView, DisassemblyModel::COLUMN_COUNT);

ResultsUtil::hideEmptyColumns(m_callerCalleeResults.selfCosts, ui->sourceCodeView,
SourceCodeModel::COLUMN_COUNT);
ResultsUtil::hideEmptyColumns(m_callerCalleeResults.selfCosts, ui->sourceCodeView, SourceCodeModel::COLUMN_COUNT);

ResultsUtil::hideEmptyColumns(m_callerCalleeResults.inclusiveCosts, ui->sourceCodeView,
SourceCodeModel::COLUMN_COUNT + m_callerCalleeResults.selfCosts.numTypes());

// hide self cost for tracepoints in assembly view, this is basically always zero
ResultsUtil::hideTracepointColumns(m_callerCalleeResults.selfCosts, ui->assemblyView, DisassemblyModel::COLUMN_COUNT);
ResultsUtil::hideTracepointColumns(m_callerCalleeResults.selfCosts, ui->assemblyView,
DisassemblyModel::COLUMN_COUNT);

// hide self cost for tracepoints - only show inclusive times instead here
ResultsUtil::hideTracepointColumns(m_callerCalleeResults.selfCosts, ui->sourceCodeView, SourceCodeModel::COLUMN_COUNT);
ResultsUtil::hideTracepointColumns(m_callerCalleeResults.selfCosts, ui->sourceCodeView,
SourceCodeModel::COLUMN_COUNT);

setupAsmViewModel();
}
Expand Down

0 comments on commit 2ab5805

Please sign in to comment.