aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/public.h
blob: f05a6b456939bb1f14932efdd2f370b6e60c3925 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "ref_counted.h"

namespace NYT {

////////////////////////////////////////////////////////////////////////////////

// TODO(babenko): consider increasing to 128 due to cache line pairing in L2 prefetcher.
constexpr size_t CacheLineSize = 64;

class TChunkedMemoryPool;

DECLARE_REFCOUNTED_STRUCT(IMemoryChunkProvider)
DECLARE_REFCOUNTED_STRUCT(TSharedRangeHolder)

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT