Add thread name report message.

This commit is contained in:
Bartosz Taudul 2017-09-22 01:51:56 +02:00
parent 7f337fae99
commit 0f99705243

View File

@ -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" );