PPL Logo

ck-core/ckevacuation.C File Reference

Go to the source code of this file.

Functions

void _ckEvacBcast (struct evacMsg *msg)
void _ckAckEvac (struct evacMsg *msg)
void CkAnnounceEvac (int remain)
void CkStopScheduler ()
void CkEmmigrateElement (void *arg)
void CkEvacuatedElement ()
void CkClearAllArrayElements ()
void CkDecideEvacPe ()
void CkClearAllArrayElementsCPP ()
int getNextPE (const CkArrayIndex &i)
int getNextSerializer ()
int CkNumValidPes ()
void processRaiseEvacFile (char *raiseEvacFile)

Variables

int _ckEvacBcastIdx
int _ckAckEvacIdx
int numValidProcessors
double evacTime
int remainingElements
int allowMessagesOnly
double firstRecv
int evacuate
int numEvacuated


Function Documentation

void _ckEvacBcast ( struct evacMsg msg  ) 

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 msg  ) 

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 CkAnnounceEvac ( int  remain  ) 

Definition at line 80 of file ckevacuation.C.

References _ckEvacBcastIdx, Converse::CkMyPe(), Converse::CmiSyncBroadcast(), evacMsg::pe, and evacMsg::remainingElements.

Referenced by CkClearAllArrayElements(), and CkEvacuatedElement().

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 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 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 CkClearAllArrayElements (  ) 

Definition at line 170 of file ckevacuation.C.

References CkAnnounceEvac(), Converse::CkMyPe(), CkNumValidPes(), CmiWallTimer(), IrrGroup::doneEvacuate(), evacTime, IrrGroup::evacuate(), evacuate, getNextSerializer(), numEvacuated, numValidProcessors, and remainingElements.

Referenced by CkClearAllArrayElementsCPP(), and CkDecideEvacPe().

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:

void CkClearAllArrayElementsCPP (  ) 

Definition at line 221 of file ckevacuation.C.

References CkClearAllArrayElements().

Here is the call 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:


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 15 of file ckevacuation.C.

Referenced by _ckAckEvac(), and CkClearAllArrayElements().

double evacTime

Definition at line 19 of file ckevacuation.C.

Referenced by CkClearAllArrayElements(), CkEvacuatedElement(), and CkStopScheduler().

Definition at line 20 of file ckevacuation.C.

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

double firstRecv

Definition at line 23 of file ckevacuation.C.

Referenced by _ckEvacBcast().

Definition at line 151 of file ckevacuation.C.

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

Definition at line 165 of file ckevacuation.C.

Referenced by CkElementEvacuate::addLocation(), and CkClearAllArrayElements().


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