Go to the source code of this file.
Functions | |
CpvDeclare (CldProcInfo, CldData) | |
CpvDeclare (MsgHeap, CldManagerLoadQueue) | |
CpvDeclare (CldSlavePriorInfo *, CldSlavesPriorityQueue) | |
CpvDeclare (int, CldAskLoadHandlerIndex) | |
CpvDeclare (int, CldstorecharemsgHandlerIndex) | |
CpvDeclare (int, CldHigherPriorityComesHandlerIndex) | |
CpvDeclare (int, CldReadytoExecHandlerIndex) | |
CpvDeclare (void *, CldRequestQueue) | |
void | LoadNotifyFn (int l) |
const char * | CldGetStrategy (void) |
void | SendTasktoPe (int receiver, void *msg) |
static void | CldStoreCharemsg (void *msg) |
static void | CldAskLoadHandler (requestmsg *msg) |
static void | CldBeginIdle (void *dummy) |
static void | CldEndIdle (void *dummy) |
static void | CldStillIdle (void *dummy, double curT) |
void | CldReadytoExec (void *msg) |
void | HigherPriorityWork (void *msg) |
void | CldEnqueue (int pe, void *msg, int infofn) |
void | CldHandler (char *msg) |
void | CldEnqueueGroup (CmiGroup grp, void *msg, int infofn) |
void | CldOtherInit () |
void | CldModuleInit (char **argv) |
void | CldNodeEnqueue (int node, void *msg, int infofn) |
void | CldEnqueueMulti (int npes, const int *pes, void *msg, int infofn) |
void | CldCallback () |
Variables | |
char * | _lbtopo |
int | _lbsteal = 0 |
CpvDeclare | ( | CldProcInfo | , | |
CldData | ||||
) |
CpvDeclare | ( | MsgHeap | , | |
CldManagerLoadQueue | ||||
) |
CpvDeclare | ( | CldSlavePriorInfo * | , | |
CldSlavesPriorityQueue | ||||
) |
CpvDeclare | ( | int | , | |
CldAskLoadHandlerIndex | ||||
) |
CpvDeclare | ( | int | , | |
CldstorecharemsgHandlerIndex | ||||
) |
CpvDeclare | ( | int | , | |
CldHigherPriorityComesHandlerIndex | ||||
) |
CpvDeclare | ( | int | , | |
CldReadytoExecHandlerIndex | ||||
) |
CpvDeclare | ( | void * | , | |
CldRequestQueue | ||||
) |
void LoadNotifyFn | ( | int | l | ) |
const char* CldGetStrategy | ( | void | ) |
Definition at line 40 of file cldb.prioritycentralized.C.
void SendTasktoPe | ( | int | receiver, | |
void * | msg | |||
) |
Definition at line 45 of file cldb.prioritycentralized.C.
References CldRestoreHandler(), CldSwitchHandler(), CmiMyPe(), CmiPrintf(), Converse::CmiSyncSendAndFree(), and len.
Referenced by CldAskLoadHandler(), and CldStoreCharemsg().
static void CldStoreCharemsg | ( | void * | msg | ) | [static] |
Definition at line 76 of file cldb.prioritycentralized.C.
References CmiPrintf(), CmiTimer(), heap_addItem(), heap_isFull(), heap_size(), index, len, malloc(), priormsg_s::msg, priormsg_s::priority, and SendTasktoPe().
Referenced by CldEnqueue(), and CldModuleInit().
static void CldAskLoadHandler | ( | requestmsg * | msg | ) | [static] |
Definition at line 147 of file cldb.prioritycentralized.C.
References CmiPrintf(), CmiTimer(), requestmsg_s::from_pe, heap_extractMin(), heap_size(), len, priormsg_s::msg, requestmsg_s::notidle, requestmsg_s::priority, rank, and SendTasktoPe().
static void CldBeginIdle | ( | void * | dummy | ) | [static] |
Definition at line 198 of file cldb.prioritycentralized.C.
References CmiWallTimer().
static void CldEndIdle | ( | void * | dummy | ) | [static] |
Definition at line 203 of file cldb.prioritycentralized.C.
static void CldStillIdle | ( | void * | dummy, | |
double | curT | |||
) | [static] |
Definition at line 208 of file cldb.prioritycentralized.C.
References CmiMyPe(), CmiPrintf(), Converse::CmiSyncSend(), requestmsg_s::from_pe, heap_size(), CldProcInfo_s::lastCheck, CldProcInfo_s::load, msg, requestmsg_s::notidle, CldProcInfo_s::sent, and startT.
void CldReadytoExec | ( | void * | msg | ) |
Definition at line 247 of file cldb.prioritycentralized.C.
References CldRestoreHandler(), CmiHandleMessage(), CmiMyPe(), CmiPrintf(), Converse::CmiSyncSend(), requestmsg_s::from_pe, CldProcInfo_s::load, and requestmsg_s::notidle.
Referenced by CldModuleInit().
void HigherPriorityWork | ( | void * | msg | ) |
Definition at line 266 of file cldb.prioritycentralized.C.
References CldRestoreHandler(), CldSwitchHandler(), CmiMyPe(), CmiPrintf(), CmiTimer(), len, and CldProcInfo_s::load.
Referenced by CldModuleInit().
Definition at line 288 of file cldb.prioritycentralized.C.
References CldStoreCharemsg(), CldSwitchHandler(), CmiMyPe(), CmiNodeOf(), CmiPrintf(), Converse::CmiSyncBroadcastAllAndFree(), Converse::CmiSyncBroadcastAndFree(), Converse::CmiSyncSendAndFree(), CmiTimer(), and len.
void CldHandler | ( | char * | msg | ) |
Definition at line 337 of file cldb.prioritycentralized.C.
References CldRestoreHandler(), and len.
Definition at line 348 of file cldb.prioritycentralized.C.
References CldSwitchHandler(), Converse::CmiSyncMulticastAndFree(), and len.
void CldOtherInit | ( | ) |
Definition at line 365 of file cldb.prioritycentralized.C.
References _lbsteal, CcdCallOnConditionKeep(), CldBeginIdle(), CldEndIdle(), CldStillIdle(), CmiAlloc(), CmiMyPe(), and CmiPrintf().
Referenced by CldModuleInit().
Definition at line 431 of file cldb.prioritycentralized.C.
References CldSwitchHandler(), CrnRand(), and len.
Definition at line 459 of file cldb.prioritycentralized.C.
References CldSwitchHandler(), Converse::CmiSyncListSendAndFree(), and len.
void CldCallback | ( | void | ) |
Definition at line 477 of file cldb.prioritycentralized.C.
char* _lbtopo |
Definition at line 23 of file cldb.prioritycentralized.C.