cf::win_impl¶
Functions¶
| Name | |
|---|---|
| void | queryDimmInfo(std::vector< DimmInfo > & dimms) Query DIMM (memory module) information using GetSystemFirmwareTable (SMBIOS). |
| void | getSystemMemoryInfo(MemoryInfo & info) Queries system memory information on Windows platforms. |
| void | queryPhysicalMemory(PhysicalMemory & physical) Query physical memory information using GlobalMemoryStatusEx. |
| void | queryProcessMemory(ProcessMemory & process) Query current process memory usage using GetProcessMemoryInfo. |
| void | querySwapMemory(SwapMemory & swap) Query swap space information using GlobalMemoryStatusEx. |
Functions Documentation¶
function queryDimmInfo¶
Query DIMM (memory module) information using GetSystemFirmwareTable (SMBIOS).
Parameters:
- dimms Output vector to be populated with DIMM information.
Exceptions:
- None.
Since: 0.1
Note: None.
Warning: None.
function getSystemMemoryInfo¶
Queries system memory information on Windows platforms.
Parameters:
- info MemoryInfo structure to store the retrieved memory statistics.
Exceptions:
- None
Since: 0.1
Note: None
Warning: None
Retrieves current memory statistics including total physical memory, available memory, and page file usage using GlobalMemoryStatusEx.
function queryPhysicalMemory¶
Query physical memory information using GlobalMemoryStatusEx.
Parameters:
- physical Output parameter for physical memory statistics.
Exceptions:
- None.
Since: 0.1
Note: None.
Warning: None.
function queryProcessMemory¶
Query current process memory usage using GetProcessMemoryInfo.
Parameters:
- process Output parameter for process memory statistics.
Exceptions:
- None.
Since: 0.1
Note: None.
Warning: None.
function querySwapMemory¶
Query swap space information using GlobalMemoryStatusEx.
Parameters:
- swap Output parameter for swap space statistics.
Exceptions:
- None.
Since: 0.1
Note: None.
Warning: None.
Updated on 2026-03-09 at 10:14:01 +0000