diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-10 19:57:24 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-10 19:57:24 +0300 |
commit | dccbf1e50d0dfc98bb611af8a4611312806f1664 (patch) | |
tree | 2e0c08d3d2497c37c0ce02d2f42703250311e90d /library/cpp/monlib/encode | |
parent | 48a7383de78f9548e18c2bac8db285fe00886cc0 (diff) | |
download | ydb-dccbf1e50d0dfc98bb611af8a4611312806f1664.tar.gz |
intermediate changes
ref:bbe986d1f7c2465be047a3bc69b8e068fb0c2fe9
Diffstat (limited to 'library/cpp/monlib/encode')
-rw-r--r-- | library/cpp/monlib/encode/buffered/string_pool.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/monlib/encode/buffered/string_pool.h b/library/cpp/monlib/encode/buffered/string_pool.h index 00e5644608..7630cee353 100644 --- a/library/cpp/monlib/encode/buffered/string_pool.h +++ b/library/cpp/monlib/encode/buffered/string_pool.h @@ -82,6 +82,10 @@ namespace NMonitoring { return Index_.size(); } + size_t SizeBytes() const { + return Index_.capacity() * sizeof(TStringBuf); + } + private: void InitIndex(const char* data, ui32 size); |