1
0
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:
Bartosz Taudul
2024-06-02 12:47:50 +02:00
parent 095df5f416
commit eb1cbb454a
3 changed files with 42 additions and 28 deletions
+1 -3
View File
@@ -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,