#include <SALOME_ResourcesCatalog_Parser.hxx>
Public Member Functions | |
ResourceDataToSort () | |
ResourceDataToSort (const std::string &name, unsigned int nbOfNodes, unsigned int nbOfProcPerNode, unsigned int CPUFreqMHz, unsigned int memInMB) | |
bool | operator< (const ResourceDataToSort &other) const |
Method used by list::sort to sort the resources used in SALOME_ResourcesManager::GetResourcesFitting. More... | |
void | Print () const |
Method used for debug. More... | |
Data Fields | |
std::string | _Name |
unsigned int | _nbOfNodes |
unsigned int | _nbOfProcPerNode |
unsigned int | _CPUFreqMHz |
unsigned int | _memInMB |
Static Public Attributes | |
static unsigned int | _nbOfProcWanted = 0 |
static unsigned int | _nbOfNodesWanted = 0 |
static unsigned int | _nbOfProcPerNodeWanted = 0 |
static unsigned int | _CPUFreqMHzWanted = 0 |
static unsigned int | _memInMBWanted = 0 |
Private Member Functions | |
unsigned int | GetNumberOfPoints () const |
ResourceDataToSort::ResourceDataToSort | ( | ) |
ResourceDataToSort::ResourceDataToSort | ( | const std::string & | name, |
unsigned int | nbOfNodes, | ||
unsigned int | nbOfProcPerNode, | ||
unsigned int | CPUFreqMHz, | ||
unsigned int | memInMB | ||
) |
|
private |
References _CPUFreqMHz, _CPUFreqMHzWanted, _memInMB, _memInMBWanted, _nbOfNodes, _nbOfNodesWanted, _nbOfProcPerNode, _nbOfProcPerNodeWanted, _nbOfProcWanted, and NULL_VALUE.
Referenced by operator<().
bool ResourceDataToSort::operator< | ( | const ResourceDataToSort & | other | ) | const |
Method used by list::sort to sort the resources used in SALOME_ResourcesManager::GetResourcesFitting.
References GetNumberOfPoints().
void ResourceDataToSort::Print | ( | ) | const |
Method used for debug.
References _CPUFreqMHz, _memInMB, _nbOfNodes, and _nbOfProcPerNode.
unsigned int ResourceDataToSort::_CPUFreqMHz |
|
static |
Referenced by ResourcesManager_cpp::GetFittingResources(), and GetNumberOfPoints().
unsigned int ResourceDataToSort::_memInMB |
|
static |
Referenced by ResourcesManager_cpp::GetFittingResources(), and GetNumberOfPoints().
std::string ResourceDataToSort::_Name |
unsigned int ResourceDataToSort::_nbOfNodes |
Referenced by GetNumberOfPoints(), SALOME_ResourcesManager::ListAllAvailableResources(), operator<<(), ParserResourcesType::ParserResourcesType(), ResourcesManager_cpp::ParseXmlFiles(), Print(), SALOME_ResourcesCatalog_Handler::ProcessMachine(), SALOME_ResourcesCatalog_Handler::ProcessMember(), resourceDefinition_CORBAtoCPP(), and resourceDefinition_CPPtoCORBA().
|
static |
Referenced by ResourcesManager_cpp::GetFittingResources(), and GetNumberOfPoints().
unsigned int ResourceDataToSort::_nbOfProcPerNode |
Referenced by LoadRateManagerCycl::Find(), GetNumberOfPoints(), SALOME_ResourcesManager::ListAllAvailableResources(), operator<<(), ParserResourcesType::ParserResourcesType(), ResourcesManager_cpp::ParseXmlFiles(), Print(), SALOME_ResourcesCatalog_Handler::ProcessMachine(), SALOME_ResourcesCatalog_Handler::ProcessMember(), resourceDefinition_CORBAtoCPP(), and resourceDefinition_CPPtoCORBA().
|
static |
Referenced by ResourcesManager_cpp::GetFittingResources(), and GetNumberOfPoints().
|
static |
Referenced by ResourcesManager_cpp::GetFittingResources(), and GetNumberOfPoints().