mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Add grouping icon.
This commit is contained in:
parent
18f2631e6e
commit
f264d0736a
@ -546,7 +546,7 @@ void View::DrawWaitStacks()
|
|||||||
}
|
}
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
SmallCheckbox( "Group by function name", &m_groupWaitStackBottomUp );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupWaitStackBottomUp );
|
||||||
auto tree = GetCallstackFrameTreeBottomUp( stacks, m_groupCallstackTreeByNameBottomUp );
|
auto tree = GetCallstackFrameTreeBottomUp( stacks, m_groupCallstackTreeByNameBottomUp );
|
||||||
if( !tree.empty() )
|
if( !tree.empty() )
|
||||||
{
|
{
|
||||||
@ -561,7 +561,7 @@ void View::DrawWaitStacks()
|
|||||||
}
|
}
|
||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
SmallCheckbox( "Group by function name", &m_groupWaitStackTopDown );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupWaitStackTopDown );
|
||||||
auto tree = GetCallstackFrameTreeTopDown( stacks, m_groupCallstackTreeByNameTopDown );
|
auto tree = GetCallstackFrameTreeTopDown( stacks, m_groupCallstackTreeByNameTopDown );
|
||||||
if( !tree.empty() )
|
if( !tree.empty() )
|
||||||
{
|
{
|
||||||
|
@ -435,7 +435,7 @@ void View::DrawMemory()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
SmallCheckbox( "Group by function name", &m_groupCallstackTreeByNameBottomUp );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupCallstackTreeByNameBottomUp );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
@ -473,7 +473,7 @@ void View::DrawMemory()
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
SmallCheckbox( "Group by function name", &m_groupCallstackTreeByNameTopDown );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_groupCallstackTreeByNameTopDown );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
DrawHelpMarker( "If enabled, only one source location will be displayed (which may be incorrect)." );
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
@ -951,7 +951,7 @@ void View::DrawSampleParents()
|
|||||||
}
|
}
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
SmallCheckbox( "Group by function name", &m_sampleParents.groupBottomUp );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_sampleParents.groupBottomUp );
|
||||||
auto tree = GetParentsCallstackFrameTreeBottomUp( stats, m_sampleParents.groupBottomUp );
|
auto tree = GetParentsCallstackFrameTreeBottomUp( stats, m_sampleParents.groupBottomUp );
|
||||||
if( !tree.empty() )
|
if( !tree.empty() )
|
||||||
{
|
{
|
||||||
@ -967,7 +967,7 @@ void View::DrawSampleParents()
|
|||||||
}
|
}
|
||||||
case 2:
|
case 2:
|
||||||
{
|
{
|
||||||
SmallCheckbox( "Group by function name", &m_sampleParents.groupTopDown );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group by function name", &m_sampleParents.groupTopDown );
|
||||||
auto tree = GetParentsCallstackFrameTreeTopDown( stats, m_sampleParents.groupTopDown );
|
auto tree = GetParentsCallstackFrameTreeTopDown( stats, m_sampleParents.groupTopDown );
|
||||||
if( !tree.empty() )
|
if( !tree.empty() )
|
||||||
{
|
{
|
||||||
|
@ -1132,7 +1132,7 @@ void View::DrawZoneInfoChildren( const V& children, int64_t ztime )
|
|||||||
const auto ty = ImGui::GetTextLineHeight();
|
const auto ty = ImGui::GetTextLineHeight();
|
||||||
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
SmallCheckbox( "Group children locations", &m_groupChildrenLocations );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group children locations", &m_groupChildrenLocations );
|
||||||
|
|
||||||
if( m_groupChildrenLocations )
|
if( m_groupChildrenLocations )
|
||||||
{
|
{
|
||||||
@ -1588,7 +1588,7 @@ void View::DrawGpuInfoChildren( const V& children, int64_t ztime )
|
|||||||
const auto ty = ImGui::GetTextLineHeight();
|
const auto ty = ImGui::GetTextLineHeight();
|
||||||
|
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
SmallCheckbox( "Group children locations", &m_groupChildrenLocations );
|
SmallCheckbox( ICON_FA_LAYER_GROUP " Group children locations", &m_groupChildrenLocations );
|
||||||
|
|
||||||
if( m_groupChildrenLocations )
|
if( m_groupChildrenLocations )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user