PPL Logo

ck-core/ckevacuation.h File Reference

Go to the source code of this file.

Data Structures

struct  evacMsg
class  CkElementEvacuate
class  CkElementInformHome

Functions

 CpvExtern (char *, _validProcessors)
 CkpvExtern (char, startedEvac)
void _ckEvacBcast (struct evacMsg *)
void _ckAckEvac (struct evacMsg *)
void CkDecideEvacPe ()
int getNextPE (const CkArrayIndex &i)
int getNextSerializer ()
int CkNumValidPes ()
void CkStopScheduler ()
void CkEvacuatedElement ()
void CkEmmigrateElement (void *arg)
void CkClearAllArrayElementsCPP ()

Variables

int _ckEvacBcastIdx
int _ckAckEvacIdx
int allowMessagesOnly
int evacuate


Function Documentation

CpvExtern ( char *  ,
_validProcessors   
)

CkpvExtern ( char  ,
startedEvac   
)

void _ckEvacBcast ( struct evacMsg  ) 

Definition at line 27 of file ckevacuation.C.

References _ckAckEvacIdx, allowMessagesOnly, Converse::CkMyPe(), Converse::CmiSyncSend(), CmiWallTimer(), firstRecv, getNextSerializer(), evacMsg::pe, evacMsg::remainingElements, and set_avail_vector().

Referenced by _initCharm().

Here is the call graph for this function:

Here is the caller graph for this function:

void _ckAckEvac ( struct evacMsg  ) 

Definition at line 69 of file ckevacuation.C.

References Converse::CkMyPe(), CmiWallTimer(), evacTime, numValidProcessors, and set_avail_vector().

Referenced by _initCharm().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkDecideEvacPe (  ) 

Definition at line 154 of file ckevacuation.C.

References CkClearAllArrayElements(), CmiWallTimer(), evacTime, and evacuate.

Referenced by _initCharm(), and processRaiseEvacFile().

Here is the call graph for this function:

Here is the caller graph for this function:

int getNextPE ( const CkArrayIndex &  i  ) 

Definition at line 271 of file ckevacuation.C.

References Converse::CkMyPe(), and Converse::CkNumPes().

Referenced by CkElementEvacuate::addLocation(), CkEmmigrateElement(), and CkLocMgr::immigrate().

Here is the call graph for this function:

Here is the caller graph for this function:

int getNextSerializer (  ) 

Definition at line 296 of file ckevacuation.C.

References Converse::CkNumPes().

Referenced by _ckEvacBcast(), and CkClearAllArrayElements().

Here is the call graph for this function:

Here is the caller graph for this function:

int CkNumValidPes (  ) 

Definition at line 309 of file ckevacuation.C.

References Converse::CkNumPes(), and count.

Referenced by CkClearAllArrayElements(), and CentralLB::ReceiveStats().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkStopScheduler (  ) 

Definition at line 90 of file ckevacuation.C.

References Converse::CkMyPe(), IrrGroup::doneEvacuate(), and remainingElements.

Here is the call graph for this function:

void CkEvacuatedElement (  ) 

Definition at line 121 of file ckevacuation.C.

References CkAnnounceEvac(), Converse::CkMyPe(), CmiWallTimer(), IrrGroup::doneEvacuate(), evacTime, and remainingElements.

Referenced by CkEmmigrateElement().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkEmmigrateElement ( void *  arg  ) 

Definition at line 109 of file ckevacuation.C.

References CkLocRec::AsyncMigrate(), CkEvacuatedElement(), CkLocRec::getIndex(), getNextPE(), idx, and CkLocRec::migrateMe().

Referenced by TCharm::evacuate().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkClearAllArrayElementsCPP (  ) 

Definition at line 221 of file ckevacuation.C.

References CkClearAllArrayElements().

Here is the call graph for this function:


Variable Documentation

Definition at line 13 of file ckevacuation.C.

Referenced by _initCharm(), and CkAnnounceEvac().

Definition at line 14 of file ckevacuation.C.

Referenced by _ckEvacBcast(), and _initCharm().

Definition at line 20 of file ckevacuation.C.

Referenced by _ckEvacBcast(), and CkLocMgr::deliverMsg().

Definition at line 151 of file ckevacuation.C.

Referenced by _initCharm(), CkClearAllArrayElements(), and CkDecideEvacPe().


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