QCChrono Class Reference

#include <QCChrono.hpp>

List of all members.


Detailed Description

Class of chronometers.

Class of chronometers. Useful to bench the application.
There's a reference timer which is static and that you must start at the
starting of the application.
The instances of the class are timers that can time special events and that you
can pause and restart.

Definition at line 44 of file QCChrono.hpp.

Public Member Functions

QCFloat getvalsec (void) const
QCFloat getvalsec_r (void) const
void pause (void)
void pause_r (void)
 QCChrono (void)
void reset (void)
void reset_r (void)
void resume (void)
void resume_r (void)
void start (void)
void start_r (void)

Private Attributes

QCFloat elt
QCFloat elt_r
timeval elTime
QCFloat reft
QCFloat reft_r
timeval refTime
rusage relTime
rusage rrefTime
QCFloat totalSec
QCFloat totalSec_r


Constructor & Destructor Documentation

QCChrono::QCChrono void   )  [inline]
 

Definition at line 53 of file QCChrono.hpp.


Member Function Documentation

QCFloat QCChrono::getvalsec void   )  const [inline]
 

Definition at line 154 of file QCChrono.hpp.

References totalSec.

Referenced by QCSCFAlgo::fixPoint(), QCDCAlgo::fixPoint(), QCSCFAlgo::optimalDamping(), and QCDCAlgo::optimalDamping().

QCFloat QCChrono::getvalsec_r void   )  const [inline]
 

Definition at line 155 of file QCChrono.hpp.

References totalSec_r.

void QCChrono::pause void   )  [inline]
 

Definition at line 127 of file QCChrono.hpp.

References elt, elTime, reft, and totalSec.

Referenced by QCSCFAlgo::fixPoint(), QCDCAlgo::fixPoint(), QCSCFAlgo::optimalDamping(), and QCDCAlgo::optimalDamping().

void QCChrono::pause_r void   )  [inline]
 

Definition at line 140 of file QCChrono.hpp.

References elt_r, reft_r, relTime, and totalSec_r.

void QCChrono::reset void   )  [inline]
 

Definition at line 63 of file QCChrono.hpp.

References QC_ZERO, and totalSec.

void QCChrono::reset_r void   )  [inline]
 

Definition at line 72 of file QCChrono.hpp.

References QC_ZERO, and totalSec_r.

void QCChrono::resume void   )  [inline]
 

Definition at line 105 of file QCChrono.hpp.

References reft, and refTime.

void QCChrono::resume_r void   )  [inline]
 

Definition at line 116 of file QCChrono.hpp.

References reft_r, and rrefTime.

void QCChrono::start void   )  [inline]
 

Definition at line 81 of file QCChrono.hpp.

References QC_ZERO, reft, refTime, and totalSec.

Referenced by QCSCFAlgo::fixPoint(), QCDCAlgo::fixPoint(), QCSCFAlgo::optimalDamping(), and QCDCAlgo::optimalDamping().

void QCChrono::start_r void   )  [inline]
 

Definition at line 93 of file QCChrono.hpp.

References QC_ZERO, reft_r, rrefTime, and totalSec_r.


Member Data Documentation

QCFloat QCChrono::elt [private]
 

Definition at line 188 of file QCChrono.hpp.

Referenced by pause().

QCFloat QCChrono::elt_r [private]
 

Definition at line 192 of file QCChrono.hpp.

Referenced by pause_r().

struct timeval QCChrono::elTime [private]
 

Definition at line 180 of file QCChrono.hpp.

Referenced by pause().

QCFloat QCChrono::reft [private]
 

Definition at line 186 of file QCChrono.hpp.

Referenced by pause(), resume(), and start().

QCFloat QCChrono::reft_r [private]
 

Definition at line 190 of file QCChrono.hpp.

Referenced by pause_r(), resume_r(), and start_r().

struct timeval QCChrono::refTime [private]
 

Definition at line 178 of file QCChrono.hpp.

Referenced by resume(), and start().

struct rusage QCChrono::relTime [private]
 

Definition at line 184 of file QCChrono.hpp.

Referenced by pause_r().

struct rusage QCChrono::rrefTime [private]
 

Definition at line 182 of file QCChrono.hpp.

Referenced by resume_r(), and start_r().

QCFloat QCChrono::totalSec [private]
 

Definition at line 194 of file QCChrono.hpp.

Referenced by getvalsec(), pause(), reset(), and start().

QCFloat QCChrono::totalSec_r [private]
 

Definition at line 196 of file QCChrono.hpp.

Referenced by getvalsec_r(), pause_r(), reset_r(), and start_r().


The documentation for this class was generated from the following file:
Generated on Sat Jan 28 21:07:33 2006 for QC++ by  doxygen 1.4.4