mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Cosmetics.
This commit is contained in:
parent
54ae4c84ba
commit
6a82f666a7
@ -1498,7 +1498,7 @@ const FrameImage* Worker::GetFrameImage( const FrameData& fd, size_t idx ) const
|
||||
return m_data.frameImage[v];
|
||||
}
|
||||
|
||||
std::pair <int, int> Worker::GetFrameRange( const FrameData& fd, int64_t from, int64_t to )
|
||||
std::pair<int, int> Worker::GetFrameRange( const FrameData& fd, int64_t from, int64_t to )
|
||||
{
|
||||
auto zitbegin = std::lower_bound( fd.frames.begin(), fd.frames.end(), from, [] ( const auto& lhs, const auto& rhs ) { return lhs.start < rhs; } );
|
||||
if( zitbegin == fd.frames.end() ) zitbegin--;
|
||||
|
||||
@ -269,7 +269,7 @@ public:
|
||||
int64_t GetFrameBegin( const FrameData& fd, size_t idx ) const;
|
||||
int64_t GetFrameEnd( const FrameData& fd, size_t idx ) const;
|
||||
const FrameImage* GetFrameImage( const FrameData& fd, size_t idx ) const;
|
||||
std::pair <int, int> GetFrameRange( const FrameData& fd, int64_t from, int64_t to );
|
||||
std::pair<int, int> GetFrameRange( const FrameData& fd, int64_t from, int64_t to );
|
||||
|
||||
const flat_hash_map<uint32_t, LockMap*, nohash<uint32_t>>& GetLockMap() const { return m_data.lockMap; }
|
||||
const Vector<MessageData*>& GetMessages() const { return m_data.messages; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user