mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
There can be many locks with the same name, print id.
This commit is contained in:
parent
956bcb9b17
commit
4accd9ae8f
@ -1554,7 +1554,9 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
|
||||
|
||||
if( drawn )
|
||||
{
|
||||
draw->AddText( wpos + ImVec2( 0, offset ), 0xFF8888FF, GetString( srcloc.function ) );
|
||||
char buf[1024];
|
||||
sprintf( buf, "%" PRIu64 ": %s", v.first, GetString( srcloc.function ) );
|
||||
draw->AddText( wpos + ImVec2( 0, offset ), 0xFF8888FF, buf );
|
||||
cnt++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user