1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Move common event data to separate struct.

This commit is contained in:
Bartosz Taudul
2017-09-12 00:56:31 +02:00
parent aa10adcc9c
commit 25d7cebd8a
2 changed files with 12 additions and 3 deletions
+6 -1
View File
@@ -27,10 +27,15 @@ struct QueueZoneEnd
uint64_t id;
};
struct QueueItem
struct QueueHeader
{
QueueType type;
int64_t time;
};
struct QueueItem
{
QueueHeader hdr;
union
{
QueueZoneBegin zoneBegin;