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
18namespace tde::sys {
19
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
37TDE_PUBLIC MemoryInfo
39
40}
Some utility macros.
TDE_PUBLIC MemoryInfo query_memory_info()
Query memory info.
Definition memory.cpp:28
Memory info.
Definition memory.hpp:25