mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-01 17:34:36 +00:00
Add absolute time info to Zone info view
This commit is contained in:
parent
759b4c3bfe
commit
f0ee324399
@ -457,6 +457,8 @@ void View::DrawZoneInfoWindow()
|
||||
const auto ztime = end - ev.Start();
|
||||
const auto selftime = GetZoneSelfTime( ev );
|
||||
TextFocused( "Time from start of program:", TimeToStringExact( ev.Start() ) );
|
||||
const std::time_t ts = m_worker.GetCaptureTime() + ev.Start() / 1000000000;
|
||||
TextFocused( "Wall clock time:", std::asctime( std::localtime( &ts) ) );
|
||||
TextFocused( "Execution time:", TimeToString( ztime ) );
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
if( m_worker.AreSourceLocationZonesReady() )
|
||||
|
Loading…
Reference in New Issue
Block a user