PPL Logo

ck-core/ckcheckpoint.h File Reference

Go to the source code of this file.

Data Structures

class  CkCheckpointStatusMsg

Enumerations

enum  realloc_state { NO_REALLOC = 0, REALLOC_MSG_RECEIVED = 1, REALLOC_IN_PROGRESS = 2 }
enum  { CK_CHECKPOINT_SUCCESS, CK_CHECKPOINT_FAILURE }

Functions

void CkPupROData (PUP::er &p)
void CkPupMainChareData (PUP::er &p, CkArgMsg *args)
void CkPupChareData (PUP::er &p)
void CkPupGroupData (PUP::er &p, bool create=true)
void CkPupNodeGroupData (PUP::er &p, bool create=true)
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, bool requestStatus=false)
void CkRestartMain (const char *dirname, CkArgMsg *args)
void CkResumeRestartMain (char *msg)
int CkCountArrayElements ()

Variables

realloc_state pending_realloc_state
 Cluster Manager Code, Accepts external bit vectors and then feeds it into the loadbalancer so that programs can shrink and expand.
CkGroupID _lbdb
bool _inrestart
bool _restarted
int _oldNumPes
bool _chareRestored


Enumeration Type Documentation

Enumerator:
NO_REALLOC 
REALLOC_MSG_RECEIVED 
REALLOC_IN_PROGRESS 

Definition at line 70 of file ckcheckpoint.h.

anonymous enum

Enumerator:
CK_CHECKPOINT_SUCCESS 
CK_CHECKPOINT_FAILURE 

Definition at line 81 of file ckcheckpoint.h.


Function Documentation

void CkPupROData ( PUP::er p  ) 

void CkPupMainChareData ( PUP::er p,
CkArgMsg args 
)

Definition at line 329 of file ckcheckpoint.C.

References _chareTable, _entryTable, _mainTable, bdcastRO(), Converse::CkMyPe(), ChareInfo::getMigCtor(), PUP::er::isUnpacking(), malloc(), ChareInfo::name, ChareInfo::size, size, PUP::er::typeString(), and Chare::virtual_pup().

Referenced by _handleProcData(), checkpointOne(), CkPupProcessorData(), and CkRestartMain().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkPupChareData ( PUP::er p  ) 

Definition at line 371 of file ckcheckpoint.C.

References _chareTable, buf, CkAllocSysMsg(), CkCreateLocalChare(), CkFreeSysMsg(), PUP::er::isUnpacking(), PUP::m, n, name, VidBlock::pup(), UsrToEnv(), and Chare::virtual_pup().

Referenced by _handleProcData(), CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), and CkRestartMain().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkPupGroupData ( PUP::er p,
bool  create = true 
)

void CkPupNodeGroupData ( PUP::er p,
bool  create = true 
)

void CkPupGroupData ( PUP::er p  ) 

void CkPupNodeGroupData ( PUP::er p  ) 

void CkPupArrayElementsData ( PUP::er p,
int  notifyListeners = 1 
)

Definition at line 554 of file ckcheckpoint.C.

References IrrGroup::ckJustMigrated(), Converse::CkMyPe(), idx, PUP::er::isUnpacking(), CkLocMgr::restore(), CkLocMgr::resume(), and PUP::er::typeString().

Referenced by CkCheckpointMgr::Checkpoint(), CkPupProcessorData(), CkRestartMain(), and CkResumeRestartMain().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkPupProcessorData ( PUP::er p  ) 

void CkRemoveArrayElements (  ) 

Definition at line 694 of file ckcheckpoint.C.

void CkStartCheckpoint ( const char *  dirname,
const CkCallback cb,
bool  requestStatus = false 
)

Definition at line 723 of file ckcheckpoint.C.

References Converse::CkMyPe(), CkCallback::containsPointer(), and CkCallback::isInvalid().

Referenced by PVT::beginCheckpoint(), CentralLB::CheckForRealloc(), ArmciVirtualProcessor::checkpoint(), and sim::SeqBeginCheckpoint().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkRestartMain ( const char *  dirname,
CkArgMsg args 
)

Definition at line 746 of file ckcheckpoint.C.

void CkResumeRestartMain ( char *  msg  ) 

Definition at line 855 of file ckcheckpoint.C.

References _initDone(), _inrestart, _restarted, Converse::CkMyPe(), CkPupArrayElementsData(), CkPupGroupData(), CkPupROData(), CmiFclose(), CmiFree(), CmiNodeBarrier(), CmiPrintf(), CmiWallTimer(), CkMemCheckPT::inRestarting, openCheckpointFile(), p, and CkCallback::send().

Referenced by _ROGroupRestartHandler().

Here is the call graph for this function:

Here is the caller graph for this function:

int CkCountArrayElements (  ) 

Definition at line 605 of file ckcheckpoint.C.

Referenced by CkMemCheckPT::pupAllElements(), and pupArrayElementsSkip().

Here is the caller graph for this function:


Variable Documentation

Referenced by CkRestartMain().


Generated on Mon Sep 21 07:57:48 2020 for Charm++ by  doxygen 1.5.5