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

Implement transport of single string data.

In most cases only one string is sent per message and no pointer
tracking is needed.

This is only plumbing work, no changes to messages have been made yet.
This commit is contained in:
Bartosz Taudul
2020-07-25 23:13:01 +02:00
parent 7afdef3cdb
commit 81d5a8db5e
6 changed files with 39 additions and 2 deletions
+2
View File
@@ -484,6 +484,8 @@ public:
void SendString( uint64_t str, const char* ptr, QueueType type ) { SendString( str, ptr, strlen( ptr ), type ); }
void SendString( uint64_t str, const char* ptr, size_t len, QueueType type );
void SendSingleString( const char* ptr ) { SendSingleString( ptr, strlen( ptr ) ); }
void SendSingleString( const char* ptr, size_t len );
// Allocated source location data layout: