mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Merge pull request #931 from eibach/feature_abstime
Add absolute time info to Zone info view
This commit is contained in:
commit
a9e8f9a5f8
@ -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