class for deterministic timer More...
#include <paraDeterministicTimer.h>
Public Member Functions | |
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... | |
class for deterministic timer
void init() as a public function:
if you want to set original initial time, you can do the init() function. arguments of the init() should be different depending on MIP solver parallelized So, add init() function in derived classes and use it in constructor of xxxParaSolver class
Definition at line 54 of file paraDeterministicTimer.h.
default constructor of ParaDeterministicTimer
Definition at line 62 of file paraDeterministicTimer.h.
|
virtual |
destructor of ParaDeterministicTimer
Definition at line 70 of file paraDeterministicTimer.h.
|
pure virtual |
getter of the deterministic time
Implemented in ScipParaDeterministicTimer.
Referenced by BbParaRacingSolverPool::isWinnerDecided(), BbParaSolver::notificationIsNecessary(), BbParaLoadCoordinator::processRacingRampUpTagCompletionOfCalculation(), BbParaLoadCoordinator::processRacingRampUpTagSolverState(), BbParaLoadCoordinator::processTagSelfSplitTermStateForInterruption(), BbParaLoadCoordinator::processTagSolverState(), ParaLoadCoordinator::processTagTerminated(), BbParaLoadCoordinator::processTagTermStateForInterruption(), BbParaSolver::receiveNewTaskAndReactivate(), BbParaLoadCoordinator::run(), BbParaSolver::run(), ScipParaObjCommPointHdlr::scip_exec(), BbParaSolver::sendCompletionOfCalculation(), BbParaSolver::sendCompletionOfCalculationWithoutSolving(), BbParaSolver::sendSolverState(), and ScipParaSolver::~ScipParaSolver().
|
virtual |
some normalization for the deterministic time might be needed user can do it in this function
comm | communicator used |
Reimplemented in ScipParaDeterministicTimer.
Definition at line 79 of file paraDeterministicTimer.h.
|
pure virtual |
update function of the deterministic time. the deterministic time is a kind of counter
value | added value to the deterministic time |
Implemented in ScipParaDeterministicTimer.
Referenced by BbParaLoadCoordinator::processRacingRampUpTagCompletionOfCalculation(), BbParaLoadCoordinator::processRacingRampUpTagSolverState(), BbParaLoadCoordinator::processTagSelfSplitTermStateForInterruption(), BbParaLoadCoordinator::processTagSolverState(), ParaLoadCoordinator::processTagTerminated(), BbParaLoadCoordinator::processTagTermStateForInterruption(), BbParaSolver::receiveNewTaskAndReactivate(), BbParaSolver::run(), and ScipParaObjCommPointHdlr::scip_exec().