CrayXT3::Statistics Class Reference
[Fountain server]

Maintains statistics about a CrayXT3 parallel computer by implementing the NodeData Node Statistics policy. More...

#include <CrayXT3.h>

Inheritance diagram for CrayXT3::Statistics:

SupportsNodeState List of all members.

Public Member Functions

void update (unsigned int numProcs)
 Update this object.

Protected Member Functions

 Statistics (const std::string &myid)
 Constructor.
 ~Statistics ()
 Protected destructor since this is a policy class.
bool supportGetElement (const std::string &getElementName) const
bool satisfiesWhereElement (const std::string &name, BambooLib::RMAP_Relation_Operator_Type op, const std::string &value) const
void appendInfo (XMLElementListPtr getList, BambooLib::XMLElement *nodeXML) const

Detailed Description

Maintains statistics about a CrayXT3 parallel computer by implementing the NodeData Node Statistics policy.


Constructor & Destructor Documentation

CrayXT3::Statistics::Statistics const std::string &  myid  )  [inline, explicit, protected]
 

Constructor.

Parameters:
[in] myid Unique ID for this entry


Member Function Documentation

void Statistics::appendInfo XMLElementListPtr  getList,
BambooLib::XMLElement nodeXML
const [protected]
 

Append this NodeData object's resource statistics to an XML message using the provided parameters.

Parameters:
[in] getList The list of Get XML elements
[in] nodeXML The XML element to append the information to
Precondition:
Every Get element in the getList is supported

nodeXML != NULL

bool Statistics::satisfiesWhereElement const std::string &  name,
BambooLib::RMAP_Relation_Operator_Type  op,
const std::string &  value
const [protected]
 

Test the named Where element using the provided operator and value to see if it matches our statistics.

Parameters:
[in] name The name of the Where element to test
[in] op The relation operator to use when c omparing our value to the passed in value
[in] value The value to test against
Return values:
bool true if the comparison passes, false otherwise

bool Statistics::supportGetElement const std::string &  getElementName  )  const [protected]
 

Test whether or not the named Get element is supported.

Parameters:
[in] getElementName The name of the Get element
Return values:
bool true if the get element is supported, false otherwise

void CrayXT3::Statistics::update unsigned int  numProcs  )  [inline]
 

Update this object.

Parameters:
[in] numProcs The number of processors


The documentation for this class was generated from the following files:
Generated on Wed Mar 8 14:43:33 2006 for Fountain by  doxygen 1.4.6