mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Sort lock map.
It is displayed in UI, so order is important.
This commit is contained in:
parent
03289175ab
commit
339c177ee8
@ -2,6 +2,7 @@
|
|||||||
#define __TRACYVIEW_HPP__
|
#define __TRACYVIEW_HPP__
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
#include <map>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
@ -225,7 +226,7 @@ private:
|
|||||||
std::unordered_map<uint64_t, std::string> m_threadNames;
|
std::unordered_map<uint64_t, std::string> m_threadNames;
|
||||||
std::unordered_set<const char*, charutil::Hasher, charutil::Comparator> m_customStrings;
|
std::unordered_set<const char*, charutil::Hasher, charutil::Comparator> m_customStrings;
|
||||||
std::unordered_map<uint64_t, QueueSourceLocation> m_sourceLocation;
|
std::unordered_map<uint64_t, QueueSourceLocation> m_sourceLocation;
|
||||||
std::unordered_map<uint32_t, LockMap> m_lockMap;
|
std::map<uint32_t, LockMap> m_lockMap;
|
||||||
uint64_t m_zonesCnt;
|
uint64_t m_zonesCnt;
|
||||||
|
|
||||||
std::mutex m_mbpslock;
|
std::mutex m_mbpslock;
|
||||||
|
Loading…
Reference in New Issue
Block a user