#include <Status.h>
Public Member Functions | |
| Status (void) | |
| ~Status (void) | |
| unsigned | GetPhysicalMemoryLoad () const |
| unsigned __int64 | GetPhysicalMemoryTotal () const |
| unsigned __int64 | GetPhysicalMemoryAvailable () const |
| unsigned __int64 | GetPageFileTotal () const |
| unsigned __int64 | GetPageFileAvailable () const |
| unsigned __int64 | GetVirtualMemoryTotal () const |
| unsigned __int64 | GetVirtualMemoryAvailable () const |
| void | Log () |
Contains info about the current status of both physical and virtual memory. Have a look at the MEMORYSTATUSEX structure (see http://msdn.microsoft.com/en-us/library/aa366770(VS.85).aspx).
| xl7::memory::Status::Status | ( | void | ) |
Default constructor.
| xl7::memory::Status::~Status | ( | void | ) |
Destructor.
| unsigned __int64 xl7::memory::Status::GetPageFileAvailable | ( | ) | const [inline] |
Returns the maximum amount of memory that can be committed, in bytes.
| unsigned __int64 xl7::memory::Status::GetPageFileTotal | ( | ) | const [inline] |
Returns the current committed memory limit, in bytes.
| unsigned __int64 xl7::memory::Status::GetPhysicalMemoryAvailable | ( | ) | const [inline] |
Returns the amount of physical memory currently available, in bytes.
| unsigned xl7::memory::Status::GetPhysicalMemoryLoad | ( | ) | const [inline] |
Returns the approximate percentage (0 to 100) of physical memory in use.
| unsigned __int64 xl7::memory::Status::GetPhysicalMemoryTotal | ( | ) | const [inline] |
Returns the amount of actual physical memory, in bytes.
| unsigned __int64 xl7::memory::Status::GetVirtualMemoryAvailable | ( | ) | const [inline] |
Returns the amount of unreserved and uncommitted memory currently in the user-mode portion of the virtual address space, in bytes.
| unsigned __int64 xl7::memory::Status::GetVirtualMemoryTotal | ( | ) | const [inline] |
Returns the size of the user-mode portion of the virtual address space, in bytes.
| void xl7::memory::Status::Log | ( | ) |
Logs the memory status represented by this structure to the standard logger.
1.7.1