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

Track thread context.

This change exploits the fact that events are processed in batches
originating from a single thread. A single message changing thread
context is enough to handle multiple messages, as opposed to inclusion
of thread identifier in each message.
This commit is contained in:
Bartosz Taudul
2019-08-02 20:18:08 +02:00
parent 9b6c405485
commit 12969ee497
6 changed files with 120 additions and 134 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
namespace tracy
{
enum : uint32_t { ProtocolVersion = 13 };
enum : uint32_t { ProtocolVersion = 14 };
enum : uint32_t { BroadcastVersion = 0 };
using lz4sz_t = uint32_t;