diff options
Diffstat (limited to 'protocols/Telegram/tdlib/td/memprof/memprof_stat.h')
-rw-r--r-- | protocols/Telegram/tdlib/td/memprof/memprof_stat.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/memprof/memprof_stat.h b/protocols/Telegram/tdlib/td/memprof/memprof_stat.h new file mode 100644 index 0000000000..5bc045e25c --- /dev/null +++ b/protocols/Telegram/tdlib/td/memprof/memprof_stat.h @@ -0,0 +1,13 @@ +// +// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2022 +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +#pragma once + +#include <cstddef> + +bool is_memprof_on(); + +std::size_t get_used_memory_size(); |