mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Move common file buffer sizes to a separate header.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "TracyFileHeader.hpp"
|
||||
#include "TracyFileMeta.hpp"
|
||||
#include "../public/common/tracy_lz4.hpp"
|
||||
#include "../public/common/tracy_lz4hc.hpp"
|
||||
#include "../public/common/TracyForceInline.hpp"
|
||||
@@ -24,9 +25,6 @@
|
||||
namespace tracy
|
||||
{
|
||||
|
||||
constexpr size_t FileBufSize = 64 * 1024;
|
||||
constexpr size_t FileBoundSize = std::max( LZ4_COMPRESSBOUND( FileBufSize ), ZSTD_COMPRESSBOUND( FileBufSize ) );
|
||||
|
||||
enum class FileCompression
|
||||
{
|
||||
Fast,
|
||||
|
||||
Reference in New Issue
Block a user