AuroraRuntime/Include/Aurora/HWInfo/RamInfo.hpp

47 lines
1013 B
C++
Raw Normal View History

2021-06-27 21:25:29 +00:00
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: RamInfo.hpp
Date: 2021-6-10
Author: Reece
***/
#pragma once
#include "RamStat.hpp"
2021-06-27 21:25:29 +00:00
namespace Aurora::HWInfo
{
2022-01-20 19:20:23 +00:00
/**
* @brief Virtual Address Space / Address Space Available
* @return
*/
AUKN_SYM AuOptional<RamStat> GetMemStatProcess();
2022-01-20 19:20:23 +00:00
/**
* @brief Private (/unshared) Address Space / Address Space Available
* @return
*/
AUKN_SYM AuOptional<RamStat> GetMemStatProcessBlamed();
/**
* @brief Total Unique Address Space / Address Space Available (a/k/a Commit Charge)
* @return
*/
AUKN_SYM AuOptional<RamStat> GetMemStatSystem();
2022-01-20 19:20:23 +00:00
/**
* @brief Physical Memory Used / Total Physical Memory
* @return
*/
AUKN_SYM AuOptional<RamStat> GetMemStatPhysical();
/**
* @brief GetMemStatSystem at start-up
* @return
*/
AUKN_SYM AuOptional<RamStat> GetMemStatStartup();
AUKN_SYM AuUInt32 GetPageSize();
2021-06-27 21:25:29 +00:00
}