1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Sample data inconsistency warning.

This commit is contained in:
Bartosz Taudul
2021-10-16 16:15:19 +02:00
parent 2493cad5ad
commit dfb1ce64df
3 changed files with 17 additions and 1 deletions
+11
View File
@@ -1318,6 +1318,17 @@ void View::DrawNotificationArea()
}
}
}
if( m_worker.AreSamplesInconsistent() )
{
ImGui::SameLine();
TextColoredUnformatted( ImVec4( 1, 0.5, 0, 1 ), ICON_FA_EYE_DROPPER );
if( ImGui::IsItemHovered() )
{
ImGui::BeginTooltip();
ImGui::TextUnformatted( "Sampling data and ghost zones may be displayed wrongly due to data inconsistency. Save and reload the trace to fix this." );
ImGui::EndTooltip();
}
}
if( m_vd.drawEmptyLabels )
{
ImGui::SameLine();