|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Utility functions for querying system and process memory information. More...
Functions | |
| MITKCORE_EXPORT size_t | GetProcessMemoryUsage () |
| Return the memory usage of the current process in bytes. More... | |
| MITKCORE_EXPORT size_t | GetTotalSizeOfPhysicalRam () |
| Return the total size of physical RAM in bytes. More... | |
Utility functions for querying system and process memory information.
| MITKCORE_EXPORT size_t mitk::MemoryUtilities::GetProcessMemoryUsage | ( | ) |
Return the memory usage of the current process in bytes.
On Linux, this refers to the resident memory minus shared pages (as reported by the GNOME System Monitor). On Windows, this refers to the size in bytes of the working set pages (the "Speicherauslastung" column in the task manager). On macOS, this refers to the resident size minus reusable memory.
| MITKCORE_EXPORT size_t mitk::MemoryUtilities::GetTotalSizeOfPhysicalRam | ( | ) |
Return the total size of physical RAM in bytes.