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 |
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().
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().
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().
void CkStopScheduler | ( | ) |
Definition at line 90 of file ckevacuation.C.
References Converse::CkMyPe(), IrrGroup::doneEvacuate(), and remainingElements.
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().
void CkEvacuatedElement | ( | ) |
Definition at line 121 of file ckevacuation.C.
References CkAnnounceEvac(), Converse::CkMyPe(), CmiWallTimer(), IrrGroup::doneEvacuate(), evacTime, and remainingElements.
Referenced by CkEmmigrateElement().
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().
void CkDecideEvacPe | ( | ) |
Definition at line 154 of file ckevacuation.C.
References CkClearAllArrayElements(), CmiWallTimer(), evacTime, and evacuate.
Referenced by _initCharm(), and processRaiseEvacFile().
void CkClearAllArrayElementsCPP | ( | ) |
Definition at line 221 of file ckevacuation.C.
References CkClearAllArrayElements().
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().
int getNextSerializer | ( | ) |
Definition at line 296 of file ckevacuation.C.
References Converse::CkNumPes().
Referenced by _ckEvacBcast(), and CkClearAllArrayElements().
int CkNumValidPes | ( | ) |
Definition at line 309 of file ckevacuation.C.
References Converse::CkNumPes(), and count.
Referenced by CkClearAllArrayElements(), and CentralLB::ReceiveStats().
Definition at line 15 of file ckevacuation.C.
Referenced by _ckAckEvac(), and CkClearAllArrayElements().
double evacTime |
Definition at line 17 of file ckevacuation.C.
Referenced by _ckAckEvac(), CkClearAllArrayElements(), CkDecideEvacPe(), and CkEvacuatedElement().
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 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().