Display CPU core in waking up thread popup.

This commit is contained in:
Bartosz Taudul 2019-08-17 17:24:56 +02:00
parent f7589bde02
commit 0ea8789f39

View File

@ -2423,6 +2423,7 @@ void View::DrawContextSwitches( const ContextSwitch* ctx, bool hover, double pxn
ImGui::BeginTooltip(); ImGui::BeginTooltip();
TextFocused( "Thread is", "waking up" ); TextFocused( "Thread is", "waking up" );
TextFocused( "Scheduling delay:", TimeToString( ev.Start() - ev.wakeup ) ); TextFocused( "Scheduling delay:", TimeToString( ev.Start() - ev.wakeup ) );
TextFocused( "CPU:", RealToString( ev.Cpu(), true ) );
if( ImGui::IsMouseClicked( 2 ) ) if( ImGui::IsMouseClicked( 2 ) )
{ {
ZoomToRange( pit->End(), ev.wakeup ); ZoomToRange( pit->End(), ev.wakeup );