mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Use less space for call stack tree headers.
This commit is contained in:
parent
fb11d67d8e
commit
e1af87744b
@ -10160,13 +10160,12 @@ void View::DrawMemory()
|
||||
if( ImGui::TreeNode( "Bottom-up call stack tree" ) )
|
||||
#endif
|
||||
{
|
||||
ImGui::Checkbox( "Group by function name", &m_groupCallstackTreeByNameBottomUp );
|
||||
SmallCheckbox( "Group by function name", &m_groupCallstackTreeByNameBottomUp );
|
||||
ImGui::SameLine();
|
||||
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( "Only active allocations", &m_activeOnlyBottomUp );
|
||||
TextDisabledUnformatted( "Press ctrl key to display allocation info tooltip." );
|
||||
TextDisabledUnformatted( "Right click on function name to display allocations list. Right click on file name to open source file." );
|
||||
SmallCheckbox( "Only active allocations", &m_activeOnlyBottomUp );
|
||||
TextDisabledUnformatted( "Press ctrl key to display allocation info tooltip. Right click on function name to display allocations list." );
|
||||
|
||||
auto& mem = m_worker.GetMemData();
|
||||
auto tree = GetCallstackFrameTreeBottomUp( mem );
|
||||
@ -10184,13 +10183,12 @@ void View::DrawMemory()
|
||||
if( ImGui::TreeNode( "Top-down call stack tree" ) )
|
||||
#endif
|
||||
{
|
||||
ImGui::Checkbox( "Group by function name", &m_groupCallstackTreeByNameTopDown );
|
||||
SmallCheckbox( "Group by function name", &m_groupCallstackTreeByNameTopDown );
|
||||
ImGui::SameLine();
|
||||
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
||||
ImGui::SameLine();
|
||||
ImGui::Checkbox( "Only active allocations", &m_activeOnlyTopDown );
|
||||
TextDisabledUnformatted( "Press ctrl key to display allocation info tooltip." );
|
||||
TextDisabledUnformatted( "Right click on function name to display allocations list. Right click on file name to open source file." );
|
||||
SmallCheckbox( "Only active allocations", &m_activeOnlyTopDown );
|
||||
TextDisabledUnformatted( "Press ctrl key to display allocation info tooltip. Right click on function name to display allocations list." );
|
||||
|
||||
auto& mem = m_worker.GetMemData();
|
||||
auto tree = GetCallstackFrameTreeTopDown( mem );
|
||||
|
Loading…
Reference in New Issue
Block a user