mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +00:00
Count size of some more structures.
This commit is contained in:
parent
8a205ef224
commit
32c7d13159
@ -88,6 +88,7 @@ struct ZoneEvent
|
|||||||
enum { ZoneEventSize = sizeof( ZoneEvent ) };
|
enum { ZoneEventSize = sizeof( ZoneEvent ) };
|
||||||
static_assert( std::is_standard_layout<ZoneEvent>::value, "ZoneEvent is not standard layout" );
|
static_assert( std::is_standard_layout<ZoneEvent>::value, "ZoneEvent is not standard layout" );
|
||||||
|
|
||||||
|
|
||||||
struct LockEvent
|
struct LockEvent
|
||||||
{
|
{
|
||||||
enum class Type : uint8_t
|
enum class Type : uint8_t
|
||||||
@ -242,6 +243,8 @@ struct MessageData
|
|||||||
uint32_t color;
|
uint32_t color;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum { MessageDataSize = sizeof( MessageData ) };
|
||||||
|
|
||||||
struct ThreadData
|
struct ThreadData
|
||||||
{
|
{
|
||||||
uint64_t id;
|
uint64_t id;
|
||||||
@ -337,6 +340,8 @@ struct FrameEvent
|
|||||||
int32_t frameImage;
|
int32_t frameImage;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum { FrameEventSize = sizeof( FrameEvent ) };
|
||||||
|
|
||||||
struct FrameData
|
struct FrameData
|
||||||
{
|
{
|
||||||
uint64_t name;
|
uint64_t name;
|
||||||
@ -376,6 +381,8 @@ struct FrameImage
|
|||||||
uint8_t flip;
|
uint8_t flip;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum { FrameImageSize = sizeof( FrameImage ) };
|
||||||
|
|
||||||
struct ContextSwitch
|
struct ContextSwitch
|
||||||
{
|
{
|
||||||
Vector<ContextSwitchData> v;
|
Vector<ContextSwitchData> v;
|
||||||
|
Loading…
Reference in New Issue
Block a user