mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Display zone text.
This commit is contained in:
parent
d1bbb731fc
commit
d65d957272
@ -1170,6 +1170,12 @@ int View::DrawZoneLevel( const Vector<Event*>& vec, bool hover, double pxns, con
|
||||
ImGui::Text( "%s:%i", filename, line );
|
||||
ImGui::Text( "Execution time: %s", TimeToString( end - ev.start ) );
|
||||
ImGui::Text( "Without profiling: %s", TimeToString( end - ev.start - m_delay ) );
|
||||
if( ev.text )
|
||||
{
|
||||
ImGui::Text( "" );
|
||||
ImGui::Text( "%s", ev.text );
|
||||
}
|
||||
|
||||
ImGui::EndTooltip();
|
||||
|
||||
if( m_zvStartNext == 0 && ImGui::IsMouseClicked( 2 ) && ev.end - ev.start > 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user