mirror of
https://github.com/wolfpld/tracy
synced 2025-05-07 15:33:52 +00:00
Display number of lock events in tooltip.
This commit is contained in:
parent
6008c85999
commit
2e88f30e15
@ -3090,6 +3090,8 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
|
||||
ImGui::Text( "%s", GetThreadString( t ) );
|
||||
}
|
||||
ImGui::Unindent( ty );
|
||||
ImGui::Separator();
|
||||
ImGui::Text( "Lock events: %s", RealToString( v.second.timeline.size(), true ) );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
cnt++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user