
Go to the source code of this file.
Data Structures | |
| class | CkCheckpointMgr |
| There is only one Checkpoint Manager in the whole system. More... | |
Functions | |
| void | printIndex (const CkArrayIndex &idx, char *dest) |
| void | CkPupROData (PUP::er &p) |
| void | CkPupMainChareData (PUP::er &p, CkArgMsg *args) |
| void | CkPupChareData (PUP::er &p) |
| void | CkPupGroupData (PUP::er &p, CmiBool create=CmiTrue) |
| void | CkPupNodeGroupData (PUP::er &p, CmiBool create=CmiTrue) |
| void | CkPupGroupData (PUP::er &p) |
| void | CkPupNodeGroupData (PUP::er &p) |
| void | CkPupArrayElementsData (PUP::er &p, int notifyListeners=1) |
| void | CkPupProcessorData (PUP::er &p) |
| void | CkRemoveArrayElements () |
| void | CkStartCheckpoint (const char *dirname, const CkCallback &cb) |
| void | CkRestartMain (const char *dirname, CkArgMsg *args) |
| Restart: There's no such object as restart manager is created because a group cannot restore itself anyway. | |
| int | CkCountArrayElements () |
Variables | |
| int | _inrestart |
| int | _restarted |
| int | _oldNumPes |
| int | _chareRestored |
| void printIndex | ( | const CkArrayIndex & | idx, | |
| char * | dest | |||
| ) |
Definition at line 92 of file ckcheckpoint.C.
References CkArrayIndex::data(), and CkArrayIndexBase::nInts.
| void CkPupROData | ( | PUP::er & | p | ) |
Definition at line 178 of file ckcheckpoint.C.
References _readonlyTable, and PUP::er::isUnpacking().
Referenced by _handleProcData(), _recvCheckpointHandler(), _recvRestartCheckpointHandler(), checkpointOne(), CkPupProcessorData(), CkRestartMain(), and startMlogCheckpoint().
Definition at line 191 of file ckcheckpoint.C.
References _chareTable, _entryTable, _mainTable, bdcastRO(), Converse::CkMyPe(), ChareInfo::getMigCtor(), PUP::er::isUnpacking(), malloc(), ChareInfo::name, Chare::pup(), ChareInfo::size, size, and PUP::er::typeString().
Referenced by _handleProcData(), checkpointOne(), CkPupProcessorData(), and CkRestartMain().
| void CkPupChareData | ( | PUP::er & | p | ) |
Definition at line 230 of file ckcheckpoint.C.
References _chareTable, CkAllocSysMsg(), CkCreateLocalChare(), CkFreeSysMsg(), PUP::er::isUnpacking(), n, VidBlock::pup(), Chare::pup(), and UsrToEnv().
Referenced by _handleProcData(), CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), and CkRestartMain().
Definition at line 279 of file ckcheckpoint.C.
References _chareTable, CkAllocSysMsg(), CkCreateLocalGroup(), Converse::CkMyPe(), TableEntry::getcIdx(), PUP::er::isUnpacking(), Chare::mlogData, IrrGroup::pup(), ChareMlogData::teamRecoveryFlag, PUP::er::typeString(), and UsrToEnv().
Referenced by _handleProcData(), _recvCheckpointHandler(), _recvRestartCheckpointHandler(), CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), CkRestartMain(), and startMlogCheckpoint().
Definition at line 340 of file ckcheckpoint.C.
References _chareTable, CkAllocSysMsg(), CkCreateLocalNodeGroup(), IrrGroup::ckGetGroupID(), Converse::CkMyPe(), TableEntry::getcIdx(), TableEntry::getObj(), _ckGroupID::idx, PUP::er::isUnpacking(), IrrGroup::pup(), PUP::er::typeString(), and UsrToEnv().
Referenced by _handleProcData(), _recvCheckpointHandler(), _recvRestartCheckpointHandler(), CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), CkRestartMain(), and startMlogCheckpoint().
| void CkPupGroupData | ( | PUP::er & | p | ) |
Definition at line 392 of file ckcheckpoint.C.
References _chareTable, CkAllocSysMsg(), CkCreateLocalGroup(), IrrGroup::ckGetGroupID(), Converse::CkMyPe(), TableEntry::getcIdx(), _ckGroupID::idx, PUP::er::isUnpacking(), IrrGroup::pup(), PUP::er::typeString(), and UsrToEnv().
| void CkPupNodeGroupData | ( | PUP::er & | p | ) |
Definition at line 452 of file ckcheckpoint.C.
References _chareTable, CkAllocSysMsg(), CkCreateLocalNodeGroup(), IrrGroup::ckGetGroupID(), Converse::CkMyPe(), TableEntry::getcIdx(), TableEntry::getObj(), _ckGroupID::idx, PUP::er::isUnpacking(), IrrGroup::pup(), PUP::er::typeString(), and UsrToEnv().
Definition at line 502 of file ckcheckpoint.C.
References IrrGroup::ckJustMigrated(), Converse::CkMyPe(), CmiTrue, idx, PUP::er::isUnpacking(), CkLocMgr::restore(), CkLocMgr::resume(), and PUP::er::typeString().
Referenced by CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), and CkRestartMain().
| void CkPupProcessorData | ( | PUP::er & | p | ) |
Definition at line 560 of file ckcheckpoint.C.
References Converse::CkMyPe(), BGConverse::CkMyRank(), CkPupArrayElementsData(), CkPupChareData(), CkPupGroupData(), CkPupMainChareData(), CkPupNodeGroupData(), CkPupROData(), and CmiTrue.
| void CkRemoveArrayElements | ( | ) |
Definition at line 622 of file ckcheckpoint.C.
| void CkStartCheckpoint | ( | const char * | dirname, | |
| const CkCallback & | cb | |||
| ) |
Definition at line 651 of file ckcheckpoint.C.
References Converse::CkMyPe().
Referenced by PVT::beginCheckpoint(), ArmciVirtualProcessor::checkpoint(), ampiParent::Checkpoint(), and sim::SeqBeginCheckpoint().
| void CkRestartMain | ( | const char * | dirname, | |
| CkArgMsg * | args | |||
| ) |
Restart: There's no such object as restart manager is created because a group cannot restore itself anyway.
The mechanism exists as converse code and get invoked by broadcast message.
Definition at line 666 of file ckcheckpoint.C.
References _chareRestored, _initDone(), _inrestart, _oldNumPes, _restarted, BGConverse::CkMyNode(), Converse::CkMyPe(), BGConverse::CkMyRank(), Converse::CkNumPes(), CkPupArrayElementsData(), CkPupChareData(), CkPupGroupData(), CkPupMainChareData(), CkPupNodeGroupData(), CkPupROData(), CmiFclose(), CmiFopen(), CmiNodeBarrier(), CmiPrintf(), CmiTrue, p, and CkCallback::send().
Referenced by _parseCommandLineOpts().
| int CkCountArrayElements | ( | ) |
Referenced by CkRestartMain().
Referenced by CkRestartMain().
Referenced by CkRestartMain().
Referenced by CkRestartMain().
1.5.5