Go to the source code of this file.
typedef struct CldToken_s * CldToken |
typedef struct CldProcInfo_s * CldProcInfo |
CpvDeclare | ( | int | , | |
CldHandlerIndex | ||||
) |
CpvDeclare | ( | int | , | |
CldNodeHandlerIndex | ||||
) |
CpvDeclare | ( | BitVector | , | |
CldPEBitVector | ||||
) |
CpvDeclare | ( | int | , | |
CldBalanceHandlerIndex | ||||
) |
CpvDeclare | ( | int | , | |
CldRelocatedMessages | ||||
) |
CpvDeclare | ( | int | , | |
CldLoadBalanceMessages | ||||
) |
CpvDeclare | ( | int | , | |
CldMessageChunks | ||||
) |
CpvDeclare | ( | int | , | |
CldLoadNotify | ||||
) |
CpvDeclare | ( | CmiNodeLock | , | |
cldLock | ||||
) |
void LoadNotifyFn | ( | int | ) |
Definition at line 18 of file cldb.bluegene.C.
References CldCountTokens(), CldProcInfo_s::sent, StealLoad(), and WS_Threshold.
Referenced by CldTokenHandler().
void CldRegisterEstimator | ( | CldEstimator | fn | ) |
Definition at line 31 of file cldb.C.
Referenced by _initCharm().
CpvDeclare | ( | int | , | |
CldLoadOffset | ||||
) |
Definition at line 55 of file cldb.C.
References CmiRegisterHandler().
Referenced by _initCharm().
Definition at line 60 of file cldb.C.
References CmiRegisterHandler().
void CldSwitchHandler | ( | char * | cmsg, | |
int | handler | |||
) |
Definition at line 78 of file cldb.C.
Referenced by CldEnqueue(), CldEnqueueGroup(), CldEnqueueMulti(), CldMoveAllSeedsAway(), CldMultipleSend(), CldMultipleSendPrio(), CldNodeEnqueue(), CldSimpleMultipleSend(), CompressPersistentMsg(), HigherPriorityWork(), and SendTasktoPe().
void CldRestoreHandler | ( | char * | cmsg | ) |
Definition at line 90 of file cldb.C.
Referenced by CldBalanceHandler(), CldHandler(), CldNodeHandler(), CldReadytoExec(), CompressPersistentMsg(), HigherPriorityWork(), persistentDecompressHandler(), persistentNoDecompressHandler(), and SendTasktoPe().
void Cldhandler | ( | char * | ) |
CpvDeclare | ( | CldProcInfo | , | |
CldProc | ||||
) |
static void CldTokenHandler | ( | CldToken | tok | ) | [static] |
Definition at line 118 of file cldb.C.
References CmiFree(), CmiHandleMessage(), CldProcInfo_s::load, LoadNotifyFn(), CldToken_s::msg, CldToken_s::pred, and CldToken_s::succ.
Referenced by CldModuleGeneralInit().
Definition at line 134 of file cldb.C.
Referenced by CldAskLoadHandler().
int CldCountTokens | ( | void | ) |
Definition at line 139 of file cldb.C.
Referenced by CldAskLoadHandler(), CldBalance(), CldBeginIdle(), CldEnqueue(), CldMinAvg(), CldNodeEnqueue(), CldSendLoad(), CldStillIdle(), and LoadNotifyFn().
int CldLoad | ( | void | ) |
Definition at line 144 of file cldb.C.
Referenced by CldEstimate().
Definition at line 149 of file cldb.C.
References CqsLength(), len, and offset.
Referenced by CldMinAvg().
void CldPutToken | ( | char * | msg | ) |
Definition at line 160 of file cldb.C.
References CmiAlloc(), CmiLock(), CmiUnlock(), len, CldProcInfo_s::load, CldToken_s::msg, CldToken_s::pred, CldProcInfo_s::sentinel, CldToken_s::succ, and CldProcInfo_s::tokenhandleridx.
Referenced by CldBalanceHandler(), and CldEnqueue().
void CldPutTokenPrio | ( | char * | msg | ) |
Definition at line 186 of file cldb.C.
References CmiAlloc(), CmiLock(), CmiUnlock(), CqsPrioGT_(), len, CldProcInfo_s::load, CldToken_s::msg, CldToken_s::pred, CldProcInfo_s::sentinel, CldToken_s::succ, and CldProcInfo_s::tokenhandleridx.
static void* _CldGetTokenMsg | ( | CldProcInfo | proc | ) | [inline, static] |
Definition at line 231 of file cldb.C.
References CldProcInfo_s::load, CldToken_s::msg, msg, CldToken_s::pred, CldProcInfo_s::sentinel, and CldToken_s::succ.
Referenced by CldGetToken(), and CldGetTokenFromRank().
void CldGetToken | ( | char ** | msg | ) |
Definition at line 248 of file cldb.C.
References _CldGetTokenMsg(), CmiLock(), and CmiUnlock().
Referenced by CldMoveAllSeedsAway().
static void CldGetTokenFromRank | ( | char ** | msg, | |
int | rank | |||
) | [inline, static] |
Definition at line 264 of file cldb.C.
References _CldGetTokenMsg(), CmiLock(), and CmiUnlock().
Referenced by CldMultipleSend(), and CldSimpleMultipleSend().
static void* _CldGetTokenMsgAt | ( | CldProcInfo | proc, | |
CldToken | tok | |||
) | [inline, static] |
Definition at line 278 of file cldb.C.
References CldProcInfo_s::load, CldToken_s::msg, msg, CldToken_s::pred, CldProcInfo_s::sentinel, and CldToken_s::succ.
Referenced by CldGetTokenFromRankAt().
Definition at line 297 of file cldb.C.
References _CldGetTokenMsgAt(), CmiLock(), and CmiUnlock().
Referenced by CldMultipleSendPrio().
Definition at line 309 of file cldb.C.
Referenced by CldEnqueue(), CldMoveAllSeedsAway(), and CldSetPEBitVector().
void CldMoveAllSeedsAway | ( | void | ) |
Definition at line 314 of file cldb.C.
References CldGetToken(), CldPresentPE(), CldSwitchHandler(), CmiMyPe(), Converse::CmiSyncSendAndFree(), CrnRand(), len, and msg.
Referenced by CldSetPEBitVector().
void CldSetPEBitVector | ( | const char * | newBV | ) |
Definition at line 334 of file cldb.C.
References CldMoveAllSeedsAway(), CldPresentPE(), and CmiMyPe().
void CldModuleGeneralInit | ( | char ** | argv | ) |
Definition at line 348 of file cldb.C.
References _cldb_cs, CldGetStrategy(), CldTokenHandler(), CmiAlloc(), CmiCreateLock(), CmiGetArgFlagDesc(), CmiMyPe(), CmiPrintf(), CmiRegisterHandler(), CldProcInfo_s::load, malloc(), CldToken_s::pred, CldProcInfo_s::sentinel, CldToken_s::succ, and CldProcInfo_s::tokenhandleridx.
Referenced by CldModuleInit().
Definition at line 388 of file cldb.C.
References calloc(), CldGetTokenFromRank(), CldSwitchHandler(), CmiFree(), CmiMultipleIsend(), CmiMultipleSend(), Converse::CmiSyncSendAndFree(), CpuTopoDetails::done, free(), and len.
Referenced by CldAskLoadHandler(), and CldBalance().
Definition at line 450 of file cldb.C.
References calloc(), CldGetTokenFromRankAt(), CldSwitchHandler(), CmiFree(), CmiMultipleIsend(), CmiMultipleSend(), Converse::CmiSyncSendAndFree(), count, free(), len, CldToken_s::pred, CldProcInfo_s::sentinel, and CldToken_s::succ.
Referenced by CldAskLoadHandler().
Definition at line 507 of file cldb.C.
References CldGetTokenFromRank(), CldSwitchHandler(), Converse::CmiSyncSendAndFree(), CpuTopoDetails::done, len, and msg.
Referenced by CldAskLoadHandler(), and CldBalance().
char s_lbtopo_default[] = "torus_nd_5" [static] |
char* _lbtopo = s_lbtopo_default |
Definition at line 346 of file cldb.C.
Referenced by CldModuleGeneralInit(), and seedBalancerExit().