Controls for monitoring Memory and CPU usage.
More...
#include <DiagnosticsSystem.hpp>
Controls for monitoring Memory and CPU usage.
◆ GetCPUUsedPercent()
static double OficinaFramework::DiagnosticsSystem::GetCPUUsedPercent |
( |
| ) |
|
|
static |
Gets the percentage of CPU usage.
- Returns
- Machine CPU usage in percent.
◆ GetPhysicalMemoryUsed()
static dword OficinaFramework::DiagnosticsSystem::GetPhysicalMemoryUsed |
( |
| ) |
|
|
static |
Gets the total physical memory used by the machine.
- Returns
- Size of used physical memory.
◆ GetProcessCPUUsedPercent()
static double OficinaFramework::DiagnosticsSystem::GetProcessCPUUsedPercent |
( |
| ) |
|
|
static |
Gets the percentage of CPU usage by process.
- Returns
- Process CPU usage in percent.
◆ GetProcessPhysicalMemoryUsed()
static dword OficinaFramework::DiagnosticsSystem::GetProcessPhysicalMemoryUsed |
( |
| ) |
|
|
static |
Gets the physical memory used by the current process.
- Returns
- Size of physical memory used by application.
◆ GetProcessVirtualMemoryUsed()
static dword OficinaFramework::DiagnosticsSystem::GetProcessVirtualMemoryUsed |
( |
| ) |
|
|
static |
Gets the virtual memory used by the current process.
- Returns
- Size of virtual memory used by application.
◆ GetTotalPhysicalMemory()
static dword OficinaFramework::DiagnosticsSystem::GetTotalPhysicalMemory |
( |
| ) |
|
|
static |
Gets the total physical memory.
- Returns
- Size of the physical memory.
◆ GetTotalVirtualMemory()
static dword OficinaFramework::DiagnosticsSystem::GetTotalVirtualMemory |
( |
| ) |
|
|
static |
Gets the total virtual memory.
- Returns
- Size of the virtual memory.
◆ GetVirtualMemoryUsed()
static dword OficinaFramework::DiagnosticsSystem::GetVirtualMemoryUsed |
( |
| ) |
|
|
static |
Gets the total virtual memory used by the machine.
- Returns
- Size of used virtual memory.
◆ init()
static void OficinaFramework::DiagnosticsSystem::init |
( |
| ) |
|
|
static |
◆ IsInitialized()
static bool OficinaFramework::DiagnosticsSystem::IsInitialized |
( |
| ) |
|
|
static |
Gets if the system was initialized.
- Returns
- Whether it was initialized or not.
The documentation for this class was generated from the following file: