mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Zone end times must be consistent.
This commit is contained in:
parent
40e08e9594
commit
e0cc6edbfb
@ -429,7 +429,7 @@ int TimelineItemThread::PreprocessZoneLevel( const TimelineContext& ctx, const V
|
|||||||
auto next = it + 1;
|
auto next = it + 1;
|
||||||
for(;;)
|
for(;;)
|
||||||
{
|
{
|
||||||
next = std::lower_bound( next, zitend, nextTime, [] ( const auto& l, const auto& r ) { Adapter a; return (uint64_t)a(l).End() < (uint64_t)r; } );
|
next = std::lower_bound( next, zitend, nextTime, [this] ( const auto& l, const auto& r ) { Adapter a; return m_worker.GetZoneEnd( a(l) ) < r; } );
|
||||||
if( next == zitend ) break;
|
if( next == zitend ) break;
|
||||||
auto prev = next - 1;
|
auto prev = next - 1;
|
||||||
if( prev == it ) break;
|
if( prev == it ) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user