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

Don't iterate over children to calculate zone self time.

This commit is contained in:
Bartosz Taudul
2019-10-25 00:33:44 +02:00
parent d6a8a8532f
commit 70f1074490
2 changed files with 19 additions and 10 deletions
+3
View File
@@ -351,6 +351,9 @@ struct ThreadData
Vector<MessageData*> messages;
uint32_t nextZoneId;
Vector<uint32_t> zoneIdStack;
#ifndef TRACY_NO_STATISTICS
Vector<int64_t> childTimeStack;
#endif
};
struct GpuCtxThreadData