Galois::TimeAccumulator Class Reference

A multi-start time accumulator. More...

#include <Timer.h>

List of all members.

Public Member Functions

 TimeAccumulator ()
void start ()
void stop ()
 adds the current timed interval to the total
unsigned long get () const
TimeAccumulatoroperator+= (const TimeAccumulator &rhs)

Private Attributes

Timer ltimer
unsigned long acc

Detailed Description

A multi-start time accumulator.

Gives the final runtime for a series of intervals


Constructor & Destructor Documentation

Galois::TimeAccumulator::TimeAccumulator (  ) 

Member Function Documentation

unsigned long Galois::TimeAccumulator::get (  )  const
TimeAccumulator & Galois::TimeAccumulator::operator+= ( const TimeAccumulator rhs  ) 
void Galois::TimeAccumulator::start (  ) 
void Galois::TimeAccumulator::stop (  ) 

adds the current timed interval to the total


Member Data Documentation

unsigned long Galois::TimeAccumulator::acc [private]

The documentation for this class was generated from the following files:
Generated on Tue Aug 2 11:51:29 2011 for Galois by  doxygen 1.6.3