mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Remove dead code.
This commit is contained in:
parent
7345ca5aa6
commit
b72d4b05de
@ -1169,25 +1169,6 @@ int64_t View::GetZoneEnd( const ZoneEvent& ev ) const
|
||||
}
|
||||
}
|
||||
|
||||
Vector<ZoneEvent*>& View::GetParentVector( const ZoneEvent& ev )
|
||||
{
|
||||
if( ev.parent )
|
||||
{
|
||||
return ev.parent->child;
|
||||
}
|
||||
else
|
||||
{
|
||||
for( auto& t : m_threads )
|
||||
{
|
||||
auto it = std::lower_bound( t->timeline.begin(), t->timeline.end(), ev.start, [] ( const auto& l, const auto& r ) { return l->start < r; } );
|
||||
if( it != t->timeline.end() && *it == &ev ) return t->timeline;
|
||||
}
|
||||
assert( false );
|
||||
static Vector<ZoneEvent*> empty;
|
||||
return empty;
|
||||
}
|
||||
}
|
||||
|
||||
const char* View::TimeToString( int64_t ns ) const
|
||||
{
|
||||
enum { Pool = 8 };
|
||||
|
@ -168,7 +168,6 @@ private:
|
||||
uint64_t GetFrameEnd( size_t idx ) const;
|
||||
int64_t GetLastTime() const;
|
||||
int64_t GetZoneEnd( const ZoneEvent& ev ) const;
|
||||
Vector<ZoneEvent*>& GetParentVector( const ZoneEvent& ev );
|
||||
const char* TimeToString( int64_t ns ) const;
|
||||
const char* RealToString( double val, bool separator ) const;
|
||||
const char* GetString( uint64_t ptr ) const;
|
||||
|
Loading…
Reference in New Issue
Block a user