mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Build ghost zones tree.
This commit is contained in:
@@ -500,6 +500,16 @@ struct FrameImage
|
||||
|
||||
enum { FrameImageSize = sizeof( FrameImage ) };
|
||||
|
||||
|
||||
struct GhostZone
|
||||
{
|
||||
Int48 start, end;
|
||||
CallstackFrameId frame;
|
||||
int32_t child;
|
||||
};
|
||||
|
||||
enum { GhostZoneSize = sizeof( GhostZone ) };
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
@@ -514,6 +524,7 @@ struct ThreadData
|
||||
Vector<uint32_t> zoneIdStack;
|
||||
#ifndef TRACY_NO_STATISTICS
|
||||
Vector<int64_t> childTimeStack;
|
||||
Vector<GhostZone> ghostZones;
|
||||
#endif
|
||||
Vector<SampleData> samples;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user