mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04: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,
|
ZoneBegin,
|
||||||
ZoneEnd,
|
ZoneEnd,
|
||||||
StringData,
|
StringData,
|
||||||
|
ThreadName,
|
||||||
FrameMark,
|
FrameMark,
|
||||||
NUM_TYPES
|
NUM_TYPES
|
||||||
};
|
};
|
||||||
@ -60,6 +61,7 @@ static const size_t QueueDataSize[] = {
|
|||||||
sizeof( QueueHeader ) + sizeof( QueueZoneEnd ),
|
sizeof( QueueHeader ) + sizeof( QueueZoneEnd ),
|
||||||
sizeof( QueueHeader ),
|
sizeof( QueueHeader ),
|
||||||
sizeof( QueueHeader ),
|
sizeof( QueueHeader ),
|
||||||
|
sizeof( QueueHeader ),
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert( sizeof( QueueDataSize ) / sizeof( size_t ) == (uint8_t)QueueType::NUM_TYPES, "QueueDataSize mismatch" );
|
static_assert( sizeof( QueueDataSize ) / sizeof( size_t ) == (uint8_t)QueueType::NUM_TYPES, "QueueDataSize mismatch" );
|
||||||
|
Loading…
Reference in New Issue
Block a user