Pooma::Statistics Class Reference

Statistics keeps statistics about a given POOMA job, and can report on a summary of these statistics when asked. More...

#include <Statistics.h>

List of all members.

Public Member Functions

 Statistics ()
 ~Statistics ()
void print (Inform &, long(*filter)(long)=defaultFilter)
StatisticsDataadd (const char *description, long initval=0)


Detailed Description

Statistics keeps statistics about a given POOMA job, and can report on a summary of these statistics when asked.

This interface is extensible ... you can add new types of statistics by calling 'add(description, initval)' with a string description of the stat, and the initial value it should have.

The StatisticsData class is a helper that contains the description and data.


Constructor & Destructor Documentation

Pooma::Statistics::Statistics (  ) 

Pooma::Statistics::~Statistics (  ) 


Member Function Documentation

void Pooma::Statistics::print ( Inform ,
long(*)(long)  filter = defaultFilter 
)

StatisticsData* Pooma::Statistics::add ( const char *  description,
long  initval = 0 
) [inline]


The documentation for this class was generated from the following file:

Generated on Wed Mar 16 06:22:48 2011 for FreePOOMA by  doxygen 1.5.9