47 lines
1013 B
C++
47 lines
1013 B
C++
/***
|
|
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"
|
|
|
|
namespace Aurora::HWInfo
|
|
{
|
|
/**
|
|
* @brief Virtual Address Space / Address Space Available
|
|
* @return
|
|
*/
|
|
AUKN_SYM AuOptional<RamStat> GetMemStatProcess();
|
|
|
|
/**
|
|
* @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();
|
|
|
|
|
|
/**
|
|
* @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();
|
|
} |