mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
21 lines
381 B
C++
Executable File
21 lines
381 B
C++
Executable File
#ifndef __TRACYPROTOCOL_HPP__
|
|
#define __TRACYPROTOCOL_HPP__
|
|
|
|
#include <limits>
|
|
#include <stdint.h>
|
|
|
|
#include "../common/tracy_lz4.hpp"
|
|
|
|
namespace tracy
|
|
{
|
|
|
|
using lz4sz_t = uint16_t;
|
|
|
|
enum { TargetFrameSize = 64000 };
|
|
enum { LZ4Size = LZ4_COMPRESSBOUND( TargetFrameSize ) };
|
|
static_assert( LZ4Size <= std::numeric_limits<lz4sz_t>::max(), "LZ4Size greater than lz4sz_t" );
|
|
|
|
}
|
|
|
|
#endif
|