mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Add thread name report message.
This commit is contained in:
parent
7f337fae99
commit
0f99705243
@ -11,6 +11,7 @@ enum class QueueType : uint8_t
|
||||
ZoneBegin,
|
||||
ZoneEnd,
|
||||
StringData,
|
||||
ThreadName,
|
||||
FrameMark,
|
||||
NUM_TYPES
|
||||
};
|
||||
@ -60,6 +61,7 @@ static const size_t QueueDataSize[] = {
|
||||
sizeof( QueueHeader ) + sizeof( QueueZoneEnd ),
|
||||
sizeof( QueueHeader ),
|
||||
sizeof( QueueHeader ),
|
||||
sizeof( QueueHeader ),
|
||||
};
|
||||
|
||||
static_assert( sizeof( QueueDataSize ) / sizeof( size_t ) == (uint8_t)QueueType::NUM_TYPES, "QueueDataSize mismatch" );
|
||||
|
Loading…
Reference in New Issue
Block a user