mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Hiding the "Incomplete context switch data" warning on fibers.
This commit is contained in:
parent
8f99232e1e
commit
aa154792c7
@ -7471,7 +7471,7 @@ void View::DrawZoneInfoWindow()
|
||||
{
|
||||
const auto end = m_worker.GetZoneEnd( ev );
|
||||
auto eit = std::upper_bound( it, ctx->v.end(), end, [] ( const auto& l, const auto& r ) { return l < r.Start(); } );
|
||||
bool incomplete = eit == ctx->v.end();
|
||||
bool incomplete = eit == ctx->v.end() && !m_worker.IsThreadFiber( tid );
|
||||
uint64_t cnt = std::distance( it, eit );
|
||||
if( cnt == 1 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user