mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Merge pull request #410 from benvanik/benvanik-fiber-incomplete
Hiding the "Incomplete context switch data" warning on fibers.
This commit is contained in:
commit
49844872e6
@ -7471,7 +7471,7 @@ void View::DrawZoneInfoWindow()
|
|||||||
{
|
{
|
||||||
const auto end = m_worker.GetZoneEnd( ev );
|
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(); } );
|
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 );
|
uint64_t cnt = std::distance( it, eit );
|
||||||
if( cnt == 1 )
|
if( cnt == 1 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user