Class for LoadCoordinator termination state which contains calculation state in a ParaLoadCoordinator. More...
#include <paraLoadCoordinatorTerminationState.h>
Public Member Functions | |
ParaLoadCoordinatorTerminationState () | |
default constructor More... | |
virtual | ~ParaLoadCoordinatorTerminationState () |
destructor More... | |
virtual std::string | toString ()=0 |
stringfy ParaCalculationState More... | |
virtual void | write (gzstream::ogzstream &out)=0 |
write to checkpoint file More... | |
virtual bool | read (ParaComm *comm, gzstream::igzstream &in)=0 |
read from checkpoint file More... | |
Public Attributes | |
bool | isCheckpointState |
indicate if this state is at checkpoint or not More... | |
int | rank |
rank of this ParaLoadCoordinator More... | |
unsigned long long | nWarmStart |
number of warm starts (restarts) More... | |
unsigned long long | nSent |
number of ParaTasks sent from LC More... | |
unsigned long long | nReceived |
number of ParaTasks received from Solvers More... | |
double | idleTime |
idle time of this LoadCoordinator More... | |
double | runningTime |
this ParaLoadCoordinator running time More... | |
Class for LoadCoordinator termination state which contains calculation state in a ParaLoadCoordinator.
Definition at line 55 of file paraLoadCoordinatorTerminationState.h.
default constructor
Definition at line 77 of file paraLoadCoordinatorTerminationState.h.
|
virtual |
destructor
Definition at line 92 of file paraLoadCoordinatorTerminationState.h.
|
pure virtual |
read from checkpoint file
comm | communicator used |
in | gzstream for input |
Implemented in BbParaLoadCoordinatorTerminationState.
|
pure virtual |
stringfy ParaCalculationState
Implemented in BbParaLoadCoordinatorTerminationState.
|
pure virtual |
write to checkpoint file
out | gzstream for output |
Implemented in BbParaLoadCoordinatorTerminationState.
double idleTime |
idle time of this LoadCoordinator
Definition at line 71 of file paraLoadCoordinatorTerminationState.h.
bool isCheckpointState |
indicate if this state is at checkpoint or not
Definition at line 59 of file paraLoadCoordinatorTerminationState.h.
Referenced by BbParaLoadCoordinatorTerminationState::read(), BbParaLoadCoordinatorTerminationState::toString(), BbParaLoadCoordinatorTerminationState::write(), BbParaLoadCoordinator::writeLoadCoordinatorStatisticsToCheckpointFile(), and BbParaLoadCoordinator::~BbParaLoadCoordinator().
unsigned long long nReceived |
number of ParaTasks received from Solvers
times of this LoadCoordinator
Definition at line 67 of file paraLoadCoordinatorTerminationState.h.
Referenced by BbParaLoadCoordinator::processTagSolverState(), BbParaLoadCoordinator::processTagTask(), BbParaLoadCoordinatorTerminationState::read(), BbParaLoadCoordinatorTerminationState::toString(), BbParaLoadCoordinatorTerminationState::write(), and BbParaLoadCoordinator::~BbParaLoadCoordinator().
unsigned long long nSent |
number of ParaTasks sent from LC
Definition at line 66 of file paraLoadCoordinatorTerminationState.h.
Referenced by BbParaLoadCoordinator::newRacing(), BbParaLoadCoordinator::processTagAnotherNodeRequest(), BbParaLoadCoordinator::processTagSolverState(), BbParaLoadCoordinatorTerminationState::read(), BbParaLoadCoordinator::restartRacing(), BbParaLoadCoordinator::run(), BbParaLoadCoordinator::sendParaTasksToIdleSolvers(), BbParaLoadCoordinatorTerminationState::toString(), BbParaLoadCoordinatorTerminationState::write(), and BbParaLoadCoordinator::~BbParaLoadCoordinator().
unsigned long long nWarmStart |
number of warm starts (restarts)
Definition at line 65 of file paraLoadCoordinatorTerminationState.h.
Referenced by BbParaLoadCoordinatorTerminationState::read(), BbParaLoadCoordinatorTerminationState::write(), and BbParaLoadCoordinator::writePreviousStatisticsInformation().
int rank |
rank of this ParaLoadCoordinator
Counters related to this ParaLoadCoordinator TODO: The numbers should be classified depending on solvers
Definition at line 60 of file paraLoadCoordinatorTerminationState.h.
Referenced by BbParaLoadCoordinatorTerminationState::read(), BbParaLoadCoordinatorTerminationState::toString(), and BbParaLoadCoordinatorTerminationState::write().
double runningTime |
this ParaLoadCoordinator running time
Definition at line 72 of file paraLoadCoordinatorTerminationState.h.