diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-11-27 19:46:43 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-11-27 19:46:43 +0300 |
commit | 687d4defc01865b8248e85809884e02412c4d0ed (patch) | |
tree | 9248fb9c3005ae19eb019a73a01d18dcf058af05 | |
parent | 52eeddd63a73c902bfe0ed651d590c341375f74e (diff) |
Cosmetics.
-rw-r--r-- | server/TracyWorker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index daea6452..3170e56f 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -7330,13 +7330,13 @@ void Worker::UpdateSampleStatisticsImpl( const CallstackFrameData** frames, uint const auto fxsz = fexcl->size; const auto& frame0 = fexcl->data[0]; auto sym0 = m_data.symbolStats.find( frame0.symAddr ); - if( sym0 == m_data.symbolStats.end() ) sym0 = m_data.symbolStats.emplace( frame0.symAddr, SymbolStats { 0, 0, unordered_flat_map<uint32_t, uint32_t>() } ).first; + if( sym0 == m_data.symbolStats.end() ) sym0 = m_data.symbolStats.emplace( frame0.symAddr, SymbolStats { 0, 0 } ).first; sym0->second.excl += count; for( uint8_t f=1; f<fxsz; f++ ) { const auto& frame = fexcl->data[f]; auto sym = m_data.symbolStats.find( frame.symAddr ); - if( sym == m_data.symbolStats.end() ) sym = m_data.symbolStats.emplace( frame.symAddr, SymbolStats { 0, 0, unordered_flat_map<uint32_t, uint32_t>() } ).first; + if( sym == m_data.symbolStats.end() ) sym = m_data.symbolStats.emplace( frame.symAddr, SymbolStats { 0, 0 } ).first; sym->second.incl += count; } for( uint16_t c=1; c<framesCount; c++ ) @@ -7347,7 +7347,7 @@ void Worker::UpdateSampleStatisticsImpl( const CallstackFrameData** frames, uint { const auto& frame = fincl->data[f]; auto sym = m_data.symbolStats.find( frame.symAddr ); - if( sym == m_data.symbolStats.end() ) sym = m_data.symbolStats.emplace( frame.symAddr, SymbolStats { 0, 0, unordered_flat_map<uint32_t, uint32_t>() } ).first; + if( sym == m_data.symbolStats.end() ) sym = m_data.symbolStats.emplace( frame.symAddr, SymbolStats { 0, 0 } ).first; sym->second.incl += count; } } |