Version: 8.3.0
ResourceDataToSort Class Reference

#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
 

Constructor & Destructor Documentation

ResourceDataToSort::ResourceDataToSort ( )
ResourceDataToSort::ResourceDataToSort ( const std::string &  name,
unsigned int  nbOfNodes,
unsigned int  nbOfProcPerNode,
unsigned int  CPUFreqMHz,
unsigned int  memInMB 
)

Member Function Documentation

unsigned int ResourceDataToSort::GetNumberOfPoints ( ) const
private
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.

Field Documentation

unsigned int ResourceDataToSort::_CPUFreqMHzWanted = 0
static
unsigned int ResourceDataToSort::_memInMBWanted = 0
static
unsigned int ResourceDataToSort::_nbOfNodesWanted = 0
static
unsigned int ResourceDataToSort::_nbOfProcPerNodeWanted = 0
static
unsigned int ResourceDataToSort::_nbOfProcWanted = 0
static