From f822455832f206a544c6c3f1afb81be2e2e05922 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 19 Oct 2017 23:48:16 +0200 Subject: [PATCH] Increase send buffer size. --- common/TracyProtocol.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/TracyProtocol.hpp b/common/TracyProtocol.hpp index 439057e2..5dc0f38e 100644 --- a/common/TracyProtocol.hpp +++ b/common/TracyProtocol.hpp @@ -9,9 +9,9 @@ namespace tracy { -using lz4sz_t = uint16_t; +using lz4sz_t = uint32_t; -enum { TargetFrameSize = 64000 }; +enum { TargetFrameSize = 256 * 1024 }; enum { LZ4Size = LZ4_COMPRESSBOUND( TargetFrameSize ) }; static_assert( LZ4Size <= std::numeric_limits::max(), "LZ4Size greater than lz4sz_t" ); static_assert( TargetFrameSize * 2 >= 64 * 1024, "Not enough space for LZ4 stream buffer" );