mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Rename internal enum to avoid #define conflicts.
This commit is contained in:
parent
6ae62e6e5a
commit
b9aa10913a
@ -124,7 +124,7 @@ void Profiler::ZoneName( uint64_t id, QueueZoneName&& data )
|
||||
void Profiler::FrameMark()
|
||||
{
|
||||
QueueItem item;
|
||||
item.hdr.type = QueueType::FrameMark;
|
||||
item.hdr.type = QueueType::FrameMarkMsg;
|
||||
item.hdr.id = (uint64_t)GetTime();
|
||||
s_queue.enqueue( s_token, std::move( item ) );
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ enum class QueueType : uint8_t
|
||||
StringData,
|
||||
ThreadName,
|
||||
CustomStringData,
|
||||
FrameMark,
|
||||
FrameMarkMsg,
|
||||
SourceLocation,
|
||||
ZoneText,
|
||||
ZoneName,
|
||||
|
@ -239,7 +239,7 @@ void View::Process( const QueueItem& ev )
|
||||
case QueueType::ZoneEnd:
|
||||
ProcessZoneEnd( ev.hdr.id, ev.zoneEnd );
|
||||
break;
|
||||
case QueueType::FrameMark:
|
||||
case QueueType::FrameMarkMsg:
|
||||
ProcessFrameMark( ev.hdr.id );
|
||||
break;
|
||||
case QueueType::SourceLocation:
|
||||
|
Loading…
Reference in New Issue
Block a user