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

Don't separate inclusive/exclusive counts.

There is no way for one frame to have both. Coloring is preserved and is
now determined by presence of children.
This commit is contained in:
Bartosz Taudul
2019-02-06 22:36:21 +01:00
parent 1953a1a1d5
commit b945f83169
2 changed files with 19 additions and 63 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ enum { CallstackFrameDataSize = sizeof( CallstackFrameData ) };
struct CallstackFrameTree
{
uint64_t frame;
uint64_t allocExclusive, allocInclusive;
uint32_t countExclusive, countInclusive;
uint64_t alloc;
uint32_t count;
std::vector<CallstackFrameTree> children;
flat_hash_set<uint32_t, nohash<uint32_t>> callstacks;
};