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

Use multiple compression streams when writing trace files.

This commit is contained in:
Bartosz Taudul
2024-06-02 12:27:17 +02:00
parent 9c3a4e5762
commit 3bf4a674bc
2 changed files with 127 additions and 33 deletions
+3 -2
View File
@@ -8,8 +8,9 @@
namespace tracy
{
static const char Lz4Header[4] = { 't', 'l', 'Z', 4 };
static const char ZstdHeader[4] = { 't', 'Z', 's', 't' };
static const uint8_t TracyHeader[4] = { 't', 'r', 253, 'P' };
static const uint8_t Lz4Header[4] = { 't', 'l', 'Z', 4 };
static const uint8_t ZstdHeader[4] = { 't', 'Z', 's', 't' };
static constexpr tracy_force_inline int FileVersion( uint8_t h5, uint8_t h6, uint8_t h7 )
{