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

Timer structure. More...

#include <PNOStructures.h>

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

Public Member Functions

 MyTimer (World &world)
 
MyTimer print () const
 
MyTimer print (const std::string &msg) const
 
MyTimer start () const
 
MyTimer stop ()
 

Public Attributes

double cstart_
 
double cstop_
 
double ctime_
 
std::string msg_
 
Worldworld
 
double wstart_
 
double wstop_
 
double wtime_
 

Detailed Description

Timer structure.

Constructor & Destructor Documentation

◆ MyTimer()

madness::MyTimer::MyTimer ( World world)
inline

Member Function Documentation

◆ print() [1/2]

MyTimer madness::MyTimer::print ( ) const
inline

◆ print() [2/2]

MyTimer madness::MyTimer::print ( const std::string &  msg) const
inline

◆ start()

MyTimer madness::MyTimer::start ( ) const
inline

◆ stop()

MyTimer madness::MyTimer::stop ( )
inline

Member Data Documentation

◆ cstart_

double madness::MyTimer::cstart_

Referenced by start(), and stop().

◆ cstop_

double madness::MyTimer::cstop_

Referenced by stop().

◆ ctime_

double madness::MyTimer::ctime_

Referenced by print(), print(), and stop().

◆ msg_

std::string madness::MyTimer::msg_
mutable

Referenced by print(), and print().

◆ world

World& madness::MyTimer::world

Referenced by print(), print(), and start().

◆ wstart_

double madness::MyTimer::wstart_
mutable

Referenced by start(), and stop().

◆ wstop_

double madness::MyTimer::wstop_
mutable

Referenced by stop().

◆ wtime_

double madness::MyTimer::wtime_
mutable

Referenced by print(), print(), and stop().


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