mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 15:34:36 +00:00
19 lines
358 B
C++
19 lines
358 B
C++
|
#ifndef __TRACYFILEMETA_HPP__
|
||
|
#define __TRACYFILEMETA_HPP__
|
||
|
|
||
|
#include <algorithm>
|
||
|
#include <stddef.h>
|
||
|
|
||
|
#include "../public/common/tracy_lz4.hpp"
|
||
|
#include "../zstd/zstd.h"
|
||
|
|
||
|
namespace tracy
|
||
|
{
|
||
|
|
||
|
constexpr size_t FileBufSize = 64 * 1024;
|
||
|
constexpr size_t FileBoundSize = std::max( LZ4_COMPRESSBOUND( FileBufSize ), ZSTD_COMPRESSBOUND( FileBufSize ) );
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|