mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Add child calls UI.
This commit is contained in:
parent
ffe8aebfbd
commit
2f6adf3641
@ -88,6 +88,7 @@ SourceView::SourceView( ImFont* font, GetWindowCallback gwcb )
|
|||||||
, m_asmShowSourceLocation( true )
|
, m_asmShowSourceLocation( true )
|
||||||
, m_calcInlineStats( true )
|
, m_calcInlineStats( true )
|
||||||
, m_atnt( false )
|
, m_atnt( false )
|
||||||
|
, m_childCalls( false )
|
||||||
, m_showJumps( true )
|
, m_showJumps( true )
|
||||||
, m_cpuArch( CpuArchUnknown )
|
, m_cpuArch( CpuArchUnknown )
|
||||||
, m_showLatency( false )
|
, m_showLatency( false )
|
||||||
@ -1116,6 +1117,10 @@ void SourceView::RenderSymbolView( const Worker& worker, View& view )
|
|||||||
}
|
}
|
||||||
if( iptotalAsm > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
if( iptotalAsm > 0 || ( view.m_statRange.active && worker.GetSamplesForSymbol( m_baseAddr ) ) )
|
||||||
{
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
ImGui::Spacing();
|
||||||
|
ImGui::SameLine();
|
||||||
|
SmallCheckbox( ICON_FA_SIGN_OUT_ALT " Child calls", &m_childCalls );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
@ -175,6 +175,7 @@ private:
|
|||||||
uint8_t m_maxAsmBytes;
|
uint8_t m_maxAsmBytes;
|
||||||
bool m_atnt;
|
bool m_atnt;
|
||||||
uint64_t m_jumpPopupAddr;
|
uint64_t m_jumpPopupAddr;
|
||||||
|
bool m_childCalls;
|
||||||
|
|
||||||
SourceContents m_source;
|
SourceContents m_source;
|
||||||
SourceContents m_sourceTooltip;
|
SourceContents m_sourceTooltip;
|
||||||
|
Loading…
Reference in New Issue
Block a user