more precise timer More...

#include <resourceMonitor.hh>

Public Member Functions

double reset (int nrun=1)
 
 ResourceTimer ()
 
void start ()
 
double stop (int nrun=1)
 
 ~ResourceTimer ()
 

Public Attributes

timespec t_cur
 
timespec t_old
 

Detailed Description

more precise timer

Author
Holger Brandsmeier, 2009

Definition at line 71 of file resourceMonitor.hh.

Constructor & Destructor Documentation

◆ ResourceTimer()

ResourceTimer::ResourceTimer ( )
inline

Definition at line 74 of file resourceMonitor.hh.

◆ ~ResourceTimer()

ResourceTimer::~ResourceTimer ( )
inline

Definition at line 80 of file resourceMonitor.hh.

Member Function Documentation

◆ reset()

double ResourceTimer::reset ( int  nrun = 1)
inline

Definition at line 85 of file resourceMonitor.hh.

◆ start()

void ResourceTimer::start ( )

◆ stop()

double ResourceTimer::stop ( int  nrun = 1)

Member Data Documentation

◆ t_cur

timespec ResourceTimer::t_cur

Definition at line 94 of file resourceMonitor.hh.

◆ t_old

timespec ResourceTimer::t_old

Definition at line 93 of file resourceMonitor.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich