mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
This commit is contained in:
@@ -186,8 +186,8 @@
|
||||
<ClInclude Include="..\..\..\server\TracyViewData.hpp" />
|
||||
<ClInclude Include="..\..\..\server\TracyWorker.hpp" />
|
||||
<ClInclude Include="..\..\..\server\TracyYield.hpp" />
|
||||
<ClInclude Include="..\..\..\server\tracy_flat_hash_map.hpp" />
|
||||
<ClInclude Include="..\..\..\server\tracy_pdqsort.h" />
|
||||
<ClInclude Include="..\..\..\server\tracy_robin_hood.h" />
|
||||
<ClInclude Include="..\..\..\server\tracy_xxh3.h" />
|
||||
<ClInclude Include="..\..\libs\gl3w\GL\gl3w.h" />
|
||||
<ClInclude Include="..\..\libs\gl3w\GL\glcorearb.h" />
|
||||
|
||||
@@ -173,9 +173,6 @@
|
||||
<ClInclude Include="..\..\..\server\TracyPopcnt.hpp">
|
||||
<Filter>server</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\server\tracy_flat_hash_map.hpp">
|
||||
<Filter>server</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\common\TracyForceInline.hpp">
|
||||
<Filter>common</Filter>
|
||||
</ClInclude>
|
||||
@@ -308,6 +305,9 @@
|
||||
<ClInclude Include="..\..\..\server\TracySort.hpp">
|
||||
<Filter>server</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\..\server\tracy_robin_hood.h">
|
||||
<Filter>server</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Natvis Include="DebugVis.natvis" />
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
#include "stb_image.h"
|
||||
|
||||
#include "../../common/TracyProtocol.hpp"
|
||||
#include "../../server/tracy_flat_hash_map.hpp"
|
||||
#include "../../server/tracy_pdqsort.h"
|
||||
#include "../../server/tracy_robin_hood.h"
|
||||
#include "../../server/TracyBadVersion.hpp"
|
||||
#include "../../server/TracyFileRead.hpp"
|
||||
#include "../../server/TracyImGui.hpp"
|
||||
@@ -105,7 +105,7 @@ struct ClientData
|
||||
|
||||
enum class ViewShutdown { False, True, Join };
|
||||
|
||||
static tracy::flat_hash_map<uint32_t, ClientData> clients;
|
||||
static tracy::unordered_flat_map<uint32_t, ClientData> clients;
|
||||
static std::unique_ptr<tracy::View> view;
|
||||
static tracy::BadVersionState badVer;
|
||||
static int port = 8086;
|
||||
@@ -114,7 +114,7 @@ static char title[128];
|
||||
static std::thread loadThread;
|
||||
static std::unique_ptr<tracy::UdpListen> broadcastListen;
|
||||
static std::mutex resolvLock;
|
||||
static tracy::flat_hash_map<std::string, std::string> resolvMap;
|
||||
static tracy::unordered_flat_map<std::string, std::string> resolvMap;
|
||||
static ResolvService resolv( port );
|
||||
static ImFont* bigFont;
|
||||
static ImFont* smallFont;
|
||||
|
||||
Reference in New Issue
Block a user