mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
13 lines
249 B
C++
13 lines
249 B
C++
#pragma once
|
|
|
|
#include <optional>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// return total memory of NUMA nodes the process is bound to
|
|
/// if NUMA is not supported or process can use all nodes, std::nullopt is returned
|
|
std::optional<size_t> getNumaNodesTotalMemory();
|
|
|
|
}
|