|
GEOS
|
Class to fetch and store memory information for different resource types. More...
#include <MemoryInfos.hpp>
Public Member Functions | |
| MemoryInfos (umpire::MemoryResourceTraits::resource_type resourceType) | |
| Constructor for MemoryInfos. More... | |
| size_t | getTotalMemory () const |
| Get the total memory available for the resource type. More... | |
| size_t | getAvailableMemory () const |
| Get the available memory for the resource type. More... | |
| bool | isPhysicalMemoryHandled () const |
| Check if physical memory is handled. More... | |
Class to fetch and store memory information for different resource types.
Definition at line 36 of file MemoryInfos.hpp.
| geos::MemoryInfos::MemoryInfos | ( | umpire::MemoryResourceTraits::resource_type | resourceType | ) |
Constructor for MemoryInfos.
| resourceType | The type of memory resource. |
| size_t geos::MemoryInfos::getAvailableMemory | ( | ) | const |
Get the available memory for the resource type.
| size_t geos::MemoryInfos::getTotalMemory | ( | ) | const |
Get the total memory available for the resource type.
| bool geos::MemoryInfos::isPhysicalMemoryHandled | ( | ) | const |
Check if physical memory is handled.