mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Ignore zero-time zones in search.
This commit is contained in:
parent
785ab2927b
commit
fbaf59c9a6
@ -4677,6 +4677,7 @@ void View::FindZones( const Vector<ZoneEvent*>& events, Vector<ZoneEvent*>& out,
|
||||
for( auto& ev : events )
|
||||
{
|
||||
if( out.size() >= m_findZone.maxZonesPerThread ) break;
|
||||
if( GetZoneEnd( *ev ) == ev->start ) continue;
|
||||
|
||||
auto& srcloc = GetSourceLocation( ev->srcloc );
|
||||
auto str = GetString( srcloc.name.active ? srcloc.name : srcloc.function );
|
||||
|
Loading…
Reference in New Issue
Block a user