1
0
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:
Bartosz Taudul
2018-08-14 18:37:06 +02:00
parent c2c0f887aa
commit df14cf5330
3 changed files with 138 additions and 0 deletions
+10
View File
@@ -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()