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

Just one early exit check in CheckString/CheckThreadString.

This commit is contained in:
Bartosz Taudul
2017-11-24 00:45:55 +01:00
parent 0e021bb798
commit ccb39ad4bd
2 changed files with 20 additions and 17 deletions
+3 -2
View File
@@ -194,8 +194,6 @@ private:
float m_compRatio;
// not used for vis - no need to lock
flat_hash_set<uint64_t, nohash<uint64_t>> m_pendingStrings;
flat_hash_set<uint64_t, nohash<uint64_t>> m_pendingThreads;
flat_hash_set<uint64_t, nohash<uint64_t>> m_pendingSourceLocation;
flat_hash_map<uint64_t, StringLocation, nohash<uint64_t>> m_pendingCustomStrings;
flat_hash_map<uint64_t, ThreadData*, nohash<uint64_t>> m_threadMap;
@@ -207,6 +205,9 @@ private:
flat_hash_map<uint64_t, int32_t, nohash<uint64_t>> m_pendingSourceLocationPayload;
Vector<uint64_t> m_sourceLocationQueue;
uint32_t m_pendingStrings;
uint32_t m_pendingThreads;
Slab<64*1024*1024> m_slab;
LZ4_streamDecode_t* m_stream;