mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Return signed value from GetLastTime().
This commit is contained in:
parent
9bc80941c7
commit
02edbf54ff
@ -775,9 +775,9 @@ uint64_t View::GetFrameEnd( size_t idx ) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t View::GetLastTime() const
|
int64_t View::GetLastTime() const
|
||||||
{
|
{
|
||||||
uint64_t last = 0;
|
int64_t last = 0;
|
||||||
if( !m_frames.empty() ) last = m_frames.back();
|
if( !m_frames.empty() ) last = m_frames.back();
|
||||||
for( auto& v : m_threads )
|
for( auto& v : m_threads )
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,7 @@ private:
|
|||||||
uint64_t GetFrameTime( size_t idx ) const;
|
uint64_t GetFrameTime( size_t idx ) const;
|
||||||
uint64_t GetFrameBegin( size_t idx ) const;
|
uint64_t GetFrameBegin( size_t idx ) const;
|
||||||
uint64_t GetFrameEnd( size_t idx ) const;
|
uint64_t GetFrameEnd( size_t idx ) const;
|
||||||
uint64_t GetLastTime() const;
|
int64_t GetLastTime() const;
|
||||||
int64_t GetZoneEnd( const Event& ev ) const;
|
int64_t GetZoneEnd( const Event& ev ) const;
|
||||||
Vector<Event*>& GetParentVector( const Event& ev );
|
Vector<Event*>& GetParentVector( const Event& ev );
|
||||||
const char* TimeToString( int64_t ns ) const;
|
const char* TimeToString( int64_t ns ) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user