mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't cache timedist data if ctx switch data is incomplete.
This commit is contained in:
@@ -6287,6 +6287,7 @@ void View::DrawZoneInfoWindow()
|
|||||||
if( !GetZoneRunningTime( ctx, ev, time, cnt ) )
|
if( !GetZoneRunningTime( ctx, ev, time, cnt ) )
|
||||||
{
|
{
|
||||||
TextDisabledUnformatted( "Incomplete context switch data." );
|
TextDisabledUnformatted( "Incomplete context switch data." );
|
||||||
|
m_timeDist.dataValidFor = nullptr;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user