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

Use in-place merge to sort symbol data.

This commit is contained in:
Bartosz Taudul
2020-09-07 01:47:11 +02:00
parent 813e45198d
commit 75ae14cd04
2 changed files with 16 additions and 12 deletions
+2 -2
View File
@@ -277,8 +277,8 @@ private:
unordered_flat_map<uint64_t, SymbolStats> symbolStats;
Vector<SymbolLocation> symbolLoc;
Vector<uint64_t> symbolLocInline;
bool newSymbolsWereAdded = false;
bool newInlineSymbolsWereAdded = false;
int64_t newSymbolsIndex = -1;
int64_t newInlineSymbolsIndex = -1;
#ifndef TRACY_NO_STATISTICS
unordered_flat_map<VarArray<CallstackFrameId>*, uint32_t, VarArrayHasher<CallstackFrameId>, VarArrayComparator<CallstackFrameId>> parentCallstackMap;