1#pragma once
2
3#include <cstdint>
4
5/** Returns the size of physical memory (RAM) in bytes.
6 * Returns 0 on unsupported platform or if it cannot determine the size of physical memory.
7 */
8uint64_t getMemoryAmountOrZero();
9
10/** Throws exception if it cannot determine the size of physical memory.
11 */
12uint64_t getMemoryAmount();
13