mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Implement callstack tree of memory allocations.
This commit is contained in:
@@ -171,6 +171,16 @@ struct CallstackFrame
|
||||
|
||||
enum { CallstackFrameSize = sizeof( CallstackFrame ) };
|
||||
|
||||
struct CallstackFrameTree
|
||||
{
|
||||
uint64_t frame;
|
||||
uint64_t allocExclusive, allocInclusive;
|
||||
uint32_t countExclusive, countInclusive;
|
||||
std::vector<CallstackFrameTree> children;
|
||||
};
|
||||
|
||||
enum { CallstackFrameTreeSize = sizeof( CallstackFrameTree ) };
|
||||
|
||||
#pragma pack()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user