#include <QCChrono.hpp>
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 |
|
Definition at line 53 of file QCChrono.hpp. |
|
Definition at line 154 of file QCChrono.hpp. References totalSec. Referenced by QCSCFAlgo::fixPoint(), QCDCAlgo::fixPoint(), QCSCFAlgo::optimalDamping(), and QCDCAlgo::optimalDamping(). |
|
Definition at line 155 of file QCChrono.hpp. References totalSec_r. |
|
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(). |
|
Definition at line 140 of file QCChrono.hpp. References elt_r, reft_r, relTime, and totalSec_r. |
|
Definition at line 63 of file QCChrono.hpp. |
|
Definition at line 72 of file QCChrono.hpp. References QC_ZERO, and totalSec_r. |
|
Definition at line 105 of file QCChrono.hpp. |
|
Definition at line 116 of file QCChrono.hpp. |
|
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(). |
|
Definition at line 93 of file QCChrono.hpp. References QC_ZERO, reft_r, rrefTime, and totalSec_r. |
|
Definition at line 188 of file QCChrono.hpp. Referenced by pause(). |
|
Definition at line 192 of file QCChrono.hpp. Referenced by pause_r(). |
|
Definition at line 180 of file QCChrono.hpp. Referenced by pause(). |
|
Definition at line 186 of file QCChrono.hpp. |
|
Definition at line 190 of file QCChrono.hpp. Referenced by pause_r(), resume_r(), and start_r(). |
|
Definition at line 178 of file QCChrono.hpp. |
|
Definition at line 184 of file QCChrono.hpp. Referenced by pause_r(). |
|
Definition at line 182 of file QCChrono.hpp. Referenced by resume_r(), and start_r(). |
|
Definition at line 194 of file QCChrono.hpp. Referenced by getvalsec(), pause(), reset(), and start(). |
|
Definition at line 196 of file QCChrono.hpp. Referenced by getvalsec_r(), pause_r(), reset_r(), and start_r(). |