MADNESS 0.10.1
madness::MyTimer Struct Reference

Timer structure. More...

#include <PNOStructures.h>

Collaboration diagram for madness::MyTimer:

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_
World & world
double wstart_
double wstop_
double wtime_

Detailed Description

Timer structure.

Constructor & Destructor Documentation

◆ MyTimer()

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

References cstart_, cstop_, ctime_, world, wstart_, wstop_, and wtime_.

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

Member Function Documentation

◆ print() [1/2]

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

References MyTimer(), ctime_, msg_, world, and wtime_.

◆ print() [2/2]

◆ start()

◆ stop()

Member Data Documentation

◆ cstart_

double madness::MyTimer::cstart_

Referenced by MyTimer(), start(), and stop().

◆ cstop_

double madness::MyTimer::cstop_

Referenced by MyTimer(), and stop().

◆ ctime_

double madness::MyTimer::ctime_

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

◆ msg_

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

Referenced by print(), and print().

◆ world

World& madness::MyTimer::world

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

◆ wstart_

double madness::MyTimer::wstart_
mutable

Referenced by MyTimer(), start(), and stop().

◆ wstop_

double madness::MyTimer::wstop_
mutable

Referenced by MyTimer(), and stop().

◆ wtime_

double madness::MyTimer::wtime_
mutable

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


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