mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Make View::Vis() public.
This commit is contained in:
parent
6e815d13a0
commit
d737b911e9
@ -126,6 +126,13 @@ public:
|
|||||||
|
|
||||||
const MessageData* GetMessageHighlight() const { return m_msgHighlight; }
|
const MessageData* GetMessageHighlight() const { return m_msgHighlight; }
|
||||||
|
|
||||||
|
tracy_force_inline bool& Vis( const void* ptr )
|
||||||
|
{
|
||||||
|
auto it = m_visMap.find( ptr );
|
||||||
|
if( it == m_visMap.end() ) it = m_visMap.emplace( ptr, true ).first;
|
||||||
|
return it->second;
|
||||||
|
}
|
||||||
|
|
||||||
void HighlightThread( uint64_t thread );
|
void HighlightThread( uint64_t thread );
|
||||||
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
void ZoomToRange( int64_t start, int64_t end, bool pause = true );
|
||||||
bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset );
|
bool DrawPlot( const TimelineContext& ctx, PlotData& plot, int& offset );
|
||||||
@ -396,13 +403,6 @@ private:
|
|||||||
static const char* DecodeContextSwitchReason( uint8_t reason );
|
static const char* DecodeContextSwitchReason( uint8_t reason );
|
||||||
static const char* DecodeContextSwitchReasonCode( uint8_t reason );
|
static const char* DecodeContextSwitchReasonCode( uint8_t reason );
|
||||||
|
|
||||||
tracy_force_inline bool& Vis( const void* ptr )
|
|
||||||
{
|
|
||||||
auto it = m_visMap.find( ptr );
|
|
||||||
if( it == m_visMap.end() ) it = m_visMap.emplace( ptr, true ).first;
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
|
|
||||||
Worker m_worker;
|
Worker m_worker;
|
||||||
std::string m_filename, m_filenameStaging;
|
std::string m_filename, m_filenameStaging;
|
||||||
bool m_staticView;
|
bool m_staticView;
|
||||||
|
Loading…
Reference in New Issue
Block a user