Galois::Statistic Class Reference

Basic per-thread statistics counter. More...

#include <Statistic.h>

List of all members.

Public Member Functions

 Statistic (const std::string &_sn, std::string _ln="(NULL)")
 ~Statistic ()
void report ()
 Adds stat to stat pool, usually deconsructor or StatManager calls this for you.
unsigned long getValue (unsigned tid)
std::string & getLoopname ()
std::string & getStatname ()
Statisticoperator+= (unsigned long v)

Private Attributes

std::string statname
std::string loopname
Galois::Runtime::PerThreadStorage
< unsigned long > 
val
bool valid

Detailed Description

Basic per-thread statistics counter.


Constructor & Destructor Documentation

Galois::Statistic::Statistic ( const std::string &  _sn,
std::string  _ln = "(NULL)" 
) [inline]
Galois::Statistic::~Statistic (  )  [inline]

Member Function Documentation

std::string& Galois::Statistic::getLoopname (  )  [inline]
std::string& Galois::Statistic::getStatname (  )  [inline]
unsigned long Galois::Statistic::getValue ( unsigned  tid  )  [inline]
Statistic& Galois::Statistic::operator+= ( unsigned long  v  )  [inline]
void Galois::Statistic::report (  )  [inline]

Adds stat to stat pool, usually deconsructor or StatManager calls this for you.


Member Data Documentation

std::string Galois::Statistic::loopname [private]
std::string Galois::Statistic::statname [private]
bool Galois::Statistic::valid [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1