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

Store lock thread map in flat hash map.

This commit is contained in:
Bartosz Taudul 2018-03-20 15:40:25 +01:00
parent 765a1ececf
commit fe6c753f12

View File

@ -177,7 +177,7 @@ struct LockMap
{
uint32_t srcloc;
Vector<LockEvent*> timeline;
std::unordered_map<uint64_t, uint8_t> threadMap;
flat_hash_map<uint64_t, uint8_t, nohash<uint64_t>> threadMap;
std::vector<uint64_t> threadList;
LockType type;
bool valid;