MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::timer Struct Reference

#include <timing_utilities.h>

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

Public Member Functions

 timer (World &world, bool do_print=true)
 
double end (const std::string msg)
 
double interrupt ()
 
void print (const std::string msg) const
 
void resume ()
 
double tag (const std::string msg)
 

Public Attributes

bool do_print = true
 
bool is_running =false
 
double sss =0.0
 
double ttt =0.0
 
Worldworld
 

Constructor & Destructor Documentation

◆ timer()

madness::timer::timer ( World world,
bool  do_print = true 
)
inline

Member Function Documentation

◆ end()

double madness::timer::end ( const std::string  msg)
inline

◆ interrupt()

double madness::timer::interrupt ( )
inline

◆ print()

void madness::timer::print ( const std::string  msg) const
inline

◆ resume()

void madness::timer::resume ( )
inline

◆ tag()

double madness::timer::tag ( const std::string  msg)
inline

Member Data Documentation

◆ do_print

bool madness::timer::do_print = true

◆ is_running

bool madness::timer::is_running =false

Referenced by interrupt(), and resume().

◆ sss

double madness::timer::sss =0.0

Referenced by interrupt(), print(), resume(), and tag().

◆ ttt

double madness::timer::ttt =0.0

Referenced by interrupt(), print(), resume(), and tag().

◆ world

World& madness::timer::world

Referenced by timer(), interrupt(), print(), resume(), and tag().


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