MADNESS  0.10.1
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | List of all members
madness::Timer Class Reference

#include <function_common_data.h>

Collaboration diagram for madness::Timer:
Collaboration graph
[legend]

Public Member Functions

 Timer ()
 start timer More...
 
void accumulate (const double time) const
 accumulate timer More...
 
void print (std::string line="") const
 print timer More...
 
void reset () const
 

Private Types

typedef ConcurrentHashMap< int, double >::accessor accessor
 
typedef ConcurrentHashMap< int, double > map
 

Private Attributes

map data
 

Static Private Attributes

static const int itotal =-10
 

Member Typedef Documentation

◆ accessor

typedef ConcurrentHashMap<int,double>::accessor madness::Timer::accessor
private

◆ map

typedef ConcurrentHashMap<int,double> madness::Timer::map
private

Constructor & Destructor Documentation

◆ Timer()

madness::Timer::Timer ( )
inline

start timer

Member Function Documentation

◆ accumulate()

void madness::Timer::accumulate ( const double  time) const
inline

◆ print()

void madness::Timer::print ( std::string  line = "") const
inline

◆ reset()

void madness::Timer::reset ( ) const
inline

Member Data Documentation

◆ data

map madness::Timer::data
private

Referenced by accumulate(), and reset().

◆ itotal

const int madness::Timer::itotal =-10
staticprivate

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