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

Always count source location zones.

This commit is contained in:
Bartosz Taudul
2018-07-29 14:16:13 +02:00
parent 4456c8a454
commit ccc5c37af5
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -110,6 +110,8 @@ private:
#ifndef TRACY_NO_STATISTICS
flat_hash_map<int32_t, SourceLocationZones, nohash<int32_t>> sourceLocationZones;
bool sourceLocationZonesReady;
#else
flat_hash_map<int32_t, uint64_t> sourceLocationZonesCnt;
#endif
flat_hash_map<VarArray<uint64_t>*, uint32_t, VarArrayHasherPOT<uint64_t>, VarArrayComparator<uint64_t>> callstackMap;