#include <paraTimer.h>
Public Member Functions | |
ParaTimer () | |
constructor More... | |
virtual | ~ParaTimer () |
destructor More... | |
void | setOffset (double time) |
virtual void | init (ParaComm *paraComm)=0 |
initialize timer More... | |
virtual double | getElapsedTime ()=0 |
get elapsed time More... | |
Protected Attributes | |
double | offset |
offset of start time More... | |
class ParaTimer
Definition at line 48 of file paraTimer.h.
ParaTimer | ( | ) |
constructor
Definition at line 60 of file paraTimer.h.
|
virtual |
destructor
Definition at line 69 of file paraTimer.h.
|
pure virtual |
get elapsed time
Implemented in ParaSysTimer, ParaTimerMpi, and ParaTimerTh.
Referenced by BbParaNodesMerger::addNodeToMergeNodeStructs(), ScipParaInitiator::addRootNodeCuts(), BbParaLoadCoordinator::BbParaLoadCoordinator(), BbParaNodesMerger::generateMergeNodesCandidates(), BbParaSolver::getElapsedTimeOfNodeSolving(), ParaSolver::getElapsedTimeOfTaskSolving(), BbParaSolver::getThresholdValue(), ScipParaInitiator::init(), BbParaSolver::iReceiveMessages(), BbParaRacingSolverPool::isWinnerDecided(), main(), BbParaNodesMerger::mergeNodes(), BbParaLoadCoordinator::newRacing(), BbParaSolver::notificationIsNecessary(), BbParaLoadCoordinator::outputTabularSolvingStatus(), BbParaLoadCoordinator::processRacingRampUpTagCompletionOfCalculation(), BbParaLoadCoordinator::processRacingRampUpTagSolverState(), BbParaLoadCoordinator::processTagAnotherNodeRequest(), BbParaLoadCoordinator::processTagCompletionOfCalculation(), BbParaLoadCoordinator::processTagNewSubtreeRootNode(), BbParaSolver::processTagRampUp(), BbParaLoadCoordinator::processTagReassignSelfSplitSubtreeRootNode(), BbParaLoadCoordinator::processTagSelfSlpitNodeCalcuationState(), BbParaLoadCoordinator::processTagSolution(), BbParaLoadCoordinator::processTagSolverState(), BbParaLoadCoordinator::processTagSubtreeRootNodeStartComputation(), BbParaLoadCoordinator::processTagSubtreeRootNodeToBeRemoved(), BbParaLoadCoordinator::processTagTask(), BbParaSolver::processTagWinnerRacingRampUpParamSet(), BbParaSolver::receiveNewTaskAndReactivate(), BbParaNodesMerger::regenerateMergeNodesCandidates(), ScipParaSolver::reinitialize(), BbParaLoadCoordinator::restartInRampDownPhase(), BbParaLoadCoordinator::restartRacing(), BbParaLoadCoordinator::run(), BbParaSolver::run(), runSolverThread(), ScipParaSolver::ScipParaSolver(), BbParaSolver::sendCompletionOfCalculation(), BbParaSolver::sendCompletionOfCalculationWithoutSolving(), BbParaLoadCoordinator::sendInterruptRequest(), BbParaSolver::sendParaNode(), BbParaLoadCoordinator::sendParaTasksToIdleSolvers(), BbParaSolver::sendSolverState(), BbParaSolver::sendSolverTerminationState(), ScipParaSolver::setBakSettings(), BbParaSolver::setRootNodeTime(), ScipParaSolver::solve(), BbParaSolverPoolForMinimization::switchInCollectingMode(), BbParaSolverPool::switchOutCollectingMode(), BbParaLoadCoordinator::updateCheckpointFiles(), BbParaSolver::waitAckCompletion(), BbParaSolver::waitNotificationIdMessage(), BbParaSolver::waitToken(), BbParaLoadCoordinator::warmStart(), BbParaLoadCoordinator::writeLoadCoordinatorStatisticsToCheckpointFile(), BbParaLoadCoordinator::writeSubtreeInfo(), BbParaLoadCoordinator::~BbParaLoadCoordinator(), and ScipParaSolver::~ScipParaSolver().
|
pure virtual |
initialize timer
if you want to set original initial time,
paraComm | communicator used |
Implemented in ParaTimerMpi, ParaTimerTh, and ParaSysTimer.
Referenced by main(), and ParaSolver::ParaSolver().
void setOffset | ( | double | time | ) |
Definition at line 74 of file paraTimer.h.
References ParaTimer::offset.
Referenced by ScipParaSolver::ScipParaSolver().
|
protected |
offset of start time
Definition at line 53 of file paraTimer.h.
Referenced by ParaTimerMpi::getElapsedTime(), ParaTimerTh::getElapsedTime(), and ParaTimer::setOffset().