FreePOOMA  2.4.1
Public Member Functions
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


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: