diff --git a/server/TracyEvent.hpp b/server/TracyEvent.hpp index 2763a2a2..41e7318e 100644 --- a/server/TracyEvent.hpp +++ b/server/TracyEvent.hpp @@ -478,7 +478,6 @@ struct CallstackFrameTree CallstackFrameId frame; uint32_t count; unordered_flat_map children; - unordered_flat_set callstacks; }; enum { CallstackFrameTreeSize = sizeof( CallstackFrameTree ) }; diff --git a/server/TracyView.cpp b/server/TracyView.cpp index 32a68a4c..03e766e9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -16966,13 +16966,11 @@ unordered_flat_map View::GetCallstackFrameTreeBott if( treePtr ) { treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); for( int i = int( cs.size() ) - 2; i >= 0; i-- ) { treePtr = GetFrameTreeItemGroup( treePtr->children, cs[i], m_worker ); if( !treePtr ) break; treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); } } } @@ -16985,13 +16983,10 @@ unordered_flat_map View::GetCallstackFrameTreeBott auto base = cs.back(); auto treePtr = GetFrameTreeItemNoGroup( root, base, m_worker ); treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); - for( int i = int( cs.size() ) - 2; i >= 0; i-- ) { treePtr = GetFrameTreeItemNoGroup( treePtr->children, cs[i], m_worker ); treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); } } } @@ -17061,14 +17056,11 @@ unordered_flat_map View::GetCallstackFrameTreeTopD if( treePtr ) { treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); - for( uint16_t i = 1; i < cs.size(); i++ ) { treePtr = GetFrameTreeItemGroup( treePtr->children, cs[i], m_worker ); if( !treePtr ) break; treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); } } } @@ -17081,13 +17073,10 @@ unordered_flat_map View::GetCallstackFrameTreeTopD auto base = cs.front(); auto treePtr = GetFrameTreeItemNoGroup( root, base, m_worker ); treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); - for( uint16_t i = 1; i < cs.size(); i++ ) { treePtr = GetFrameTreeItemNoGroup( treePtr->children, cs[i], m_worker ); treePtr->count += path.second; - treePtr->callstacks.emplace( path.first ); } } }