
Go to the source code of this file.
Data Structures | |
| struct | _GroupInfo |
| class | ElementCheckpointer |
| class | CkCheckpointInit |
Typedefs | |
| typedef struct _GroupInfo | GroupInfo |
Functions | |
| void | noopit (const char *,...) |
| PUPbytes (GroupInfo) | |
| void | _initDone () |
| This function (not a handler) is called once and only once per processor. | |
| static void | bdcastRO (void) |
| void | printIndex (const CkArrayIndex &idx, char *dest) |
| static void | checkpointOne (const char *dirname, CkCallback &cb) |
| void | CkPupROData (PUP::er &p) |
| void | CkPupMainChareData (PUP::er &p, CkArgMsg *args) |
| CkpvExtern (CkVec< void * >, chare_objs) | |
| CkpvExtern (CkVec< int >, chare_types) | |
| CkpvExtern (CkVec< VidBlock * >, vidblocks) | |
| void | CkPupChareData (PUP::er &p) |
| void | CkPupGroupData (PUP::er &p, CmiBool create) |
| void | CkPupNodeGroupData (PUP::er &p, CmiBool create) |
| void | CkPupGroupData (PUP::er &p) |
| void | CkPupNodeGroupData (PUP::er &p) |
| void | CkPupArrayElementsData (PUP::er &p, int notifyListeners) |
| int | CkCountArrayElements () |
| 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. | |
Variables | |
| CkGroupID | _sysChkptMgr |
| typedef struct _GroupInfo GroupInfo |
| void noopit | ( | const char * | , | |
| ... | ||||
| ) |
Definition at line 17 of file ckcheckpoint.C.
| PUPbytes | ( | GroupInfo | ) |
Definition at line 33 of file ckcheckpoint.C.
| static void bdcastRO | ( | void | ) | [static] |
Definition at line 73 of file ckcheckpoint.C.
References _allocEnv(), _numInitMsgs, _readonlyTable, _roRestartHandlerIdx, Converse::CkMyPe(), Converse::CmiSyncBroadcastAndFree(), EnvToUsr(), envelope::getTotalsize(), RODataMsg, envelope::setCount(), envelope::setSrcPe(), and PUP::sizer::size().
Referenced by CkPupMainChareData().
| void printIndex | ( | const CkArrayIndex & | idx, | |
| char * | dest | |||
| ) |
Definition at line 92 of file ckcheckpoint.C.
References CkArrayIndex::data(), and CkArrayIndexBase::nInts.
| static void checkpointOne | ( | const char * | dirname, | |
| CkCallback & | cb | |||
| ) | [static] |
Definition at line 596 of file ckcheckpoint.C.
References Converse::CkMyPe(), Converse::CkNumPes(), CkPupMainChareData(), CkPupROData(), CmiFclose(), and CmiFopen().
Referenced by CkCheckpointMgr::Checkpoint().
| 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().
| CkpvExtern | ( | CkVec< void * > | , | |
| chare_objs | ||||
| ) |
| 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().
| int CkCountArrayElements | ( | ) |
| 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().
Definition at line 26 of file ckcheckpoint.C.
1.5.5