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

Only one callstack may be in-flight at any time.

Save for the allocated callstack, but this will be solved in another
way. There's no need to keep pending callstacks in a map.
This commit is contained in:
Bartosz Taudul
2019-03-05 19:30:17 +01:00
parent afe2fad1a7
commit ebf09bebae
2 changed files with 22 additions and 29 deletions
+2 -1
View File
@@ -484,7 +484,8 @@ private:
GpuCtxData* m_gpuCtxMap[256];
flat_hash_map<uint64_t, StringLocation, nohash<uint64_t>> m_pendingCustomStrings;
flat_hash_map<uint64_t, uint32_t> m_pendingCallstacks;
uint64_t m_pendingCallstackPtr = 0;
uint32_t m_pendingCallstackId;
flat_hash_map<uint64_t, int32_t, nohash<uint64_t>> m_pendingSourceLocationPayload;
Vector<uint64_t> m_sourceLocationQueue;
flat_hash_map<uint64_t, uint32_t, nohash<uint64_t>> m_sourceLocationShrink;