mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Fix source-less sample count calculations.
This commit is contained in:
parent
3177865fc2
commit
0f42dc2e4c
@ -472,6 +472,8 @@ void SourceView::RenderSymbolView( const Worker& worker )
|
||||
if( ipmap )
|
||||
{
|
||||
for( auto& ip : *ipmap )
|
||||
{
|
||||
if( m_file )
|
||||
{
|
||||
auto frame = worker.GetCallstackFrame( ip.first );
|
||||
if( frame )
|
||||
@ -492,6 +494,7 @@ void SourceView::RenderSymbolView( const Worker& worker )
|
||||
iptotalSrc += ip.second;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
auto addr = worker.GetCanonicalPointer( ip.first );
|
||||
assert( ipcountAsm.find( addr ) == ipcountAsm.end() );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user