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
|
|
|
|
|
2021-10-24 09:04:02 +00:00
|
|
|
#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
|
|
|
|
*/
|
2021-09-13 20:11:12 +00:00
|
|
|
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
|
|
|
|
*/
|
2021-09-13 20:11:12 +00:00
|
|
|
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
|
|
|
|
*/
|
2021-09-13 20:11:12 +00:00
|
|
|
AUKN_SYM AuOptional<RamStat> GetMemStatStartup();
|
2021-10-14 11:35:05 +00:00
|
|
|
|
|
|
|
AUKN_SYM AuUInt32 GetPageSize();
|
2021-06-27 21:25:29 +00:00
|
|
|
}
|