
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) |
| 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, 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 | ) |
| 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(), and Converse::CmiSyncSendAndFree().
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(), malloc(), priormsg_s::msg, priormsg_s::priority, and SendTasktoPe().
Referenced by CldEnqueue(), and CldModuleInit().
| static void CldAskLoadHandler | ( | requestmsg * | msg | ) | [static] |
Definition at line 148 of file cldb.prioritycentralized.c.
References CmiPrintf(), CmiTimer(), requestmsg_s::from_pe, heap_extractMin(), heap_size(), priormsg_s::msg, requestmsg_s::notidle, requestmsg_s::priority, and SendTasktoPe().
| static void CldBeginIdle | ( | void * | dummy | ) | [static] |
| static void CldEndIdle | ( | void * | dummy | ) | [static] |
Definition at line 204 of file cldb.prioritycentralized.c.
| static void CldStillIdle | ( | void * | dummy, | |
| double | curT | |||
| ) | [static] |
Definition at line 209 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 248 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 267 of file cldb.prioritycentralized.c.
References CldRestoreHandler(), CldSwitchHandler(), CmiMyPe(), CmiPrintf(), CmiTimer(), and CldProcInfo_s::load.
Referenced by CldModuleInit().
Definition at line 289 of file cldb.prioritycentralized.c.
References CldStoreCharemsg(), CldSwitchHandler(), CmiMyPe(), CmiNodeOf(), CmiPrintf(), Converse::CmiSyncBroadcastAllAndFree(), Converse::CmiSyncBroadcastAndFree(), Converse::CmiSyncSendAndFree(), and CmiTimer().
| void CldHandler | ( | char * | msg | ) |
Definition at line 349 of file cldb.prioritycentralized.c.
References CldSwitchHandler(), and Converse::CmiSyncMulticastAndFree().
| void CldOtherInit | ( | ) |
Definition at line 366 of file cldb.prioritycentralized.c.
References CcdCallOnConditionKeep(), CldBeginIdle(), CldEndIdle(), CldStillIdle(), CmiAlloc(), CmiMyPe(), and CmiPrintf().
Referenced by CldModuleInit().
Definition at line 432 of file cldb.prioritycentralized.c.
References CldSwitchHandler(), and CrnRand().
Definition at line 460 of file cldb.prioritycentralized.c.
References CldSwitchHandler(), and Converse::CmiSyncListSendAndFree().
| void CldCallback | ( | ) |
Definition at line 478 of file cldb.prioritycentralized.c.
Definition at line 23 of file cldb.prioritycentralized.c.
1.5.5