Address review comments

This commit is contained in:
FearlessTobi 2022-11-15 11:16:45 +01:00
parent 35f7f5e3e3
commit de1fe7e6e3
5 changed files with 54 additions and 27 deletions

View file

@ -9,14 +9,14 @@
namespace Common {
struct MemoryInfo {
u64 TotalPhysicalMemory{};
u64 TotalSwapMemory{};
u64 total_physical_memory{};
u64 total_swap_memory{};
};
/**
* Gets the memory info of the host system
* @return Reference to a MemoryInfo struct with the physical and swap memory sizes in bytes
*/
const MemoryInfo& GetMemInfo();
[[nodiscard]] const MemoryInfo GetMemInfo();
} // namespace Common
} // namespace Common