#include <scipParaDeterministicTimer.h>
Public Member Functions | |
ScipParaDeterministicTimer () | |
virtual | ~ScipParaDeterministicTimer () |
void | normalize (UG::ParaComm *comm) |
void | update (double value) |
double | getElapsedTime () |
Public Member Functions inherited from ParaDeterministicTimer | |
ParaDeterministicTimer () | |
default constructor of ParaDeterministicTimer More... | |
virtual | ~ParaDeterministicTimer () |
destructor of ParaDeterministicTimer More... | |
virtual void | normalize (ParaComm *comm) |
some normalization for the deterministic time might be needed user can do it in this function More... | |
virtual void | update (double value)=0 |
update function of the deterministic time. the deterministic time is a kind of counter More... | |
virtual double | getElapsedTime ()=0 |
getter of the deterministic time More... | |
Private Attributes | |
double | current |
int | normalizeFactor |
Definition at line 45 of file scipParaDeterministicTimer.h.
Definition at line 50 of file scipParaDeterministicTimer.h.
|
virtual |
Definition at line 51 of file scipParaDeterministicTimer.h.
|
virtual |
Implements ParaDeterministicTimer.
Definition at line 58 of file scipParaDeterministicTimer.h.
References ScipParaDeterministicTimer::current, and ScipParaDeterministicTimer::normalizeFactor.
|
virtual |
Reimplemented from ParaDeterministicTimer.
Definition at line 56 of file scipParaDeterministicTimer.h.
References comm, and ScipParaDeterministicTimer::normalizeFactor.
|
virtual |
Implements ParaDeterministicTimer.
Definition at line 57 of file scipParaDeterministicTimer.h.
References ScipParaDeterministicTimer::current.
|
private |
Definition at line 47 of file scipParaDeterministicTimer.h.
Referenced by ScipParaDeterministicTimer::getElapsedTime(), and ScipParaDeterministicTimer::update().
|
private |
Definition at line 48 of file scipParaDeterministicTimer.h.
Referenced by ScipParaDeterministicTimer::getElapsedTime(), and ScipParaDeterministicTimer::normalize().