mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Add children locations grouping button.
This commit is contained in:
parent
b7bd3696b7
commit
740486a0ce
@ -4146,6 +4146,9 @@ void View::DrawZoneInfoWindow()
|
|||||||
ImGui::TextDisabled( "(%s)", RealToString( children.size(), true ) );
|
ImGui::TextDisabled( "(%s)", RealToString( children.size(), true ) );
|
||||||
if( expand )
|
if( expand )
|
||||||
{
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( ImGui::SmallButton( m_groupChildrenLocations ? "Display all children separate" : "Group children locations" ) ) m_groupChildrenLocations = !m_groupChildrenLocations;
|
||||||
|
|
||||||
auto ctt = std::make_unique<uint64_t[]>( children.size() );
|
auto ctt = std::make_unique<uint64_t[]>( children.size() );
|
||||||
auto cti = std::make_unique<uint32_t[]>( children.size() );
|
auto cti = std::make_unique<uint32_t[]>( children.size() );
|
||||||
uint64_t ctime = 0;
|
uint64_t ctime = 0;
|
||||||
|
@ -270,6 +270,7 @@ private:
|
|||||||
bool m_statSelf = false;
|
bool m_statSelf = false;
|
||||||
bool m_showCallstackFrameAddress = false;
|
bool m_showCallstackFrameAddress = false;
|
||||||
bool m_showUnknownFrames = true;
|
bool m_showUnknownFrames = true;
|
||||||
|
bool m_groupChildrenLocations = false;
|
||||||
|
|
||||||
ShortcutAction m_shortcut = ShortcutAction::None;
|
ShortcutAction m_shortcut = ShortcutAction::None;
|
||||||
Namespace m_namespace = Namespace::Full;
|
Namespace m_namespace = Namespace::Full;
|
||||||
|
Loading…
Reference in New Issue
Block a user