mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Don't cache timedist data if ctx switch data is incomplete.
This commit is contained in:
parent
ccdc102d5a
commit
5816dc2b11
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user