Reduce FrameEvent size by 4 bytes.

While it would be nice to store frame times on 48 bytes, it is not
currently possible, as older traces have full 64 bit frame time stamps,
which are only then offset to first frame start time.
This commit is contained in:
Bartosz Taudul 2019-11-07 23:05:13 +01:00
parent 77a449a8f0
commit 4a9138fc51

View File

@ -413,6 +413,16 @@ struct PlotItem
enum { PlotItemSize = sizeof( PlotItem ) };
struct FrameEvent
{
int64_t start;
int64_t end;
int32_t frameImage;
};
enum { FrameEventSize = sizeof( FrameEvent ) };
#pragma pack()
@ -516,15 +526,6 @@ struct MemData
PlotData* plot = nullptr;
};
struct FrameEvent
{
int64_t start;
int64_t end;
int32_t frameImage;
};
enum { FrameEventSize = sizeof( FrameEvent ) };
struct FrameData
{
uint64_t name;