mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Increase send buffer size.
This commit is contained in:
parent
b7800be627
commit
f822455832
@ -9,9 +9,9 @@
|
|||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
using lz4sz_t = uint16_t;
|
using lz4sz_t = uint32_t;
|
||||||
|
|
||||||
enum { TargetFrameSize = 64000 };
|
enum { TargetFrameSize = 256 * 1024 };
|
||||||
enum { LZ4Size = LZ4_COMPRESSBOUND( TargetFrameSize ) };
|
enum { LZ4Size = LZ4_COMPRESSBOUND( TargetFrameSize ) };
|
||||||
static_assert( LZ4Size <= std::numeric_limits<lz4sz_t>::max(), "LZ4Size greater than lz4sz_t" );
|
static_assert( LZ4Size <= std::numeric_limits<lz4sz_t>::max(), "LZ4Size greater than lz4sz_t" );
|
||||||
static_assert( TargetFrameSize * 2 >= 64 * 1024, "Not enough space for LZ4 stream buffer" );
|
static_assert( TargetFrameSize * 2 >= 64 * 1024, "Not enough space for LZ4 stream buffer" );
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user