TDE
0.1.0
Loading...
Searching...
No Matches
memory.hpp
Go to the documentation of this file.
1
12
#pragma once
13
14
#include <cstdint>
15
16
#include "
tde/common.hpp
"
17
18
namespace
tde::sys {
19
24
struct
MemoryInfo
25
{
26
std::uintptr_t total{ 0 };
27
std::uintptr_t free{ 0 };
28
std::uintptr_t swap_total{ 0 };
29
std::uintptr_t swap_free{ 0 };
30
};
31
37
TDE_PUBLIC
MemoryInfo
38
query_memory_info
();
39
40
}
common.hpp
Some utility macros.
tde::sys::query_memory_info
TDE_PUBLIC MemoryInfo query_memory_info()
Query memory info.
Definition
memory.cpp:28
tde::sys::MemoryInfo
Memory info.
Definition
memory.hpp:25
include
tde
sys
memory.hpp
Generated by
1.9.8