Go to the source code of this file.
CpvDeclare | ( | CQdState | , | |
cQdState | ||||
) |
Definition at line 32 of file quiescence.C.
References ConvQdMsg::phase.
Referenced by CQdCallWhenIdle().
Definition at line 35 of file quiescence.C.
References ConvQdMsg::phase.
Referenced by CmiStartQD(), CQdBcastQD1(), and CQdBcastQD2().
Definition at line 38 of file quiescence.C.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase1().
Definition at line 41 of file quiescence.C.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD1(), and CQdHandlePhase1().
Definition at line 44 of file quiescence.C.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase1().
Definition at line 47 of file quiescence.C.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD1(), and CQdHandlePhase1().
char CQdMsgGetDirty | ( | CQdMsg | msg | ) |
Definition at line 50 of file quiescence.C.
References ConvQdMsg::p2, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase2().
void CQdMsgSetDirty | ( | CQdMsg | msg, | |
char | d | |||
) |
Definition at line 53 of file quiescence.C.
References ConvQdMsg::p2, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD2(), and CQdHandlePhase2().
Definition at line 57 of file quiescence.C.
References ConvQdState::mCreated.
Referenced by CQdBcastQD1().
Definition at line 60 of file quiescence.C.
References ConvQdState::mCreated.
Referenced by CmiDelayImmediate(), CmiInterFreeNodeSendFn(), CmiInterFreeSendFn(), CmiStartQD(), CmiSyncBroadcastFn1(), CmiSyncNodeBroadcastFn(), CQdBcastQD1(), CQdBcastQD2(), CQdHandlePhase1(), CQdHandlePhase2(), and CQdPropagate().
Definition at line 63 of file quiescence.C.
References ConvQdState::mProcessed.
Referenced by CQdBcastQD1().
Definition at line 66 of file quiescence.C.
References ConvQdState::mProcessed.
Referenced by CmiHandleImmediateMessage(), CQdAnnounceHandler(), and CQdHandler().
Definition at line 69 of file quiescence.C.
References _CQdHandlerIdx, ConvQdState::children, Converse::CmiSyncSend(), CQdCreate(), and ConvQdState::nChildren.
Referenced by CQdBcastQD1(), and CQdBcastQD2().
Definition at line 79 of file quiescence.C.
References ConvQdState::parent.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 82 of file quiescence.C.
References ConvQdState::cCreated.
Referenced by CQdHandlePhase1().
Definition at line 85 of file quiescence.C.
References ConvQdState::cProcessed.
Referenced by CQdHandlePhase1().
Definition at line 88 of file quiescence.C.
References ConvQdState::cCreated.
Referenced by CQdHandlePhase1().
Definition at line 91 of file quiescence.C.
References ConvQdState::cProcessed.
Referenced by CQdHandlePhase1().
Definition at line 94 of file quiescence.C.
References ConvQdState::stage.
Referenced by CQdHandlePhase0(), CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 97 of file quiescence.C.
References ConvQdState::stage.
Referenced by CQdBcastQD1(), CQdBcastQD2(), CQdHandlePhase1(), and CQdHandlePhase2().
void CQdReported | ( | CQdState | state | ) |
Definition at line 100 of file quiescence.C.
References ConvQdState::nReported.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 103 of file quiescence.C.
References ConvQdState::nChildren, and ConvQdState::nReported.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
void CQdReset | ( | CQdState | state | ) |
Definition at line 106 of file quiescence.C.
References ConvQdState::cCreated, ConvQdState::cDirty, ConvQdState::cProcessed, and ConvQdState::nReported.
Referenced by CQdBcastQD1(), CQdBcastQD2(), CQdHandlePhase1(), and CQdHandlePhase2().
void CQdMarkProcessed | ( | CQdState | state | ) |
Definition at line 112 of file quiescence.C.
References ConvQdState::mProcessed, and ConvQdState::oProcessed.
Referenced by CQdBcastQD1().
char CQdIsDirty | ( | CQdState | state | ) |
Definition at line 115 of file quiescence.C.
References ConvQdState::cDirty, ConvQdState::mProcessed, and ConvQdState::oProcessed.
Referenced by CQdBcastQD2(), and CQdHandlePhase2().
void CQdSubtreeSetDirty | ( | CQdState | state, | |
char | d | |||
) |
Definition at line 118 of file quiescence.C.
References ConvQdState::cDirty.
Referenced by CQdHandlePhase2().
CQdState CQdStateCreate | ( | void | ) |
Definition at line 121 of file quiescence.C.
References ConvQdState::cCreated, ConvQdState::cDirty, ConvQdState::children, CmiMyPe(), CmiNumSpanTreeChildren(), CmiSpanTreeChildren(), CmiSpanTreeParent(), ConvQdState::cProcessed, malloc(), ConvQdState::mCreated, ConvQdState::mProcessed, ConvQdState::nChildren, ConvQdState::nReported, ConvQdState::oProcessed, ConvQdState::parent, and ConvQdState::stage.
Referenced by CQdCpvInit().
Definition at line 148 of file quiescence.C.
References CmiMyPe(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdGetCreated(), CQdGetProcessed(), CQdMarkProcessed(), CQdMsgSetCreated(), CQdMsgSetPhase(), CQdMsgSetProcessed(), CQdPropagate(), CQdReset(), and CQdSetStage().
Referenced by CQdHandlePhase0(), CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 163 of file quiescence.C.
References CmiMyPe(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdIsDirty(), CQdMsgSetDirty(), CQdMsgSetPhase(), CQdPropagate(), CQdReset(), and CQdSetStage().
Referenced by CQdHandlePhase1().
Definition at line 176 of file quiescence.C.
References CmiFree(), CmiMyPe(), CQdBcastQD1(), and CQdGetStage().
Referenced by CQdCallWhenIdle().
Definition at line 186 of file quiescence.C.
References CmiAbort(), CmiFree(), CmiMyPe(), Converse::CmiSyncSendAndFree(), CQdAllReported(), CQdBcastQD1(), CQdBcastQD2(), CQdCreate(), CQdGetCCreated(), CQdGetCProcessed(), CQdGetParent(), CQdGetStage(), CQdMsgGetCreated(), CQdMsgGetProcessed(), CQdMsgSetCreated(), CQdMsgSetProcessed(), CQdReported(), CQdReset(), CQdSetStage(), CQdSubtreeCreate(), and CQdSubtreeProcess().
Referenced by CQdCallWhenIdle().
Definition at line 225 of file quiescence.C.
References _CQdAnnounceHandlerIdx, CmiFree(), CmiMyPe(), Converse::CmiSyncBroadcastAllAndFree(), Converse::CmiSyncSendAndFree(), CQdAllReported(), CQdBcastQD1(), CQdCreate(), CQdGetParent(), CQdGetStage(), CQdIsDirty(), CQdMsgGetDirty(), CQdMsgSetDirty(), CQdReported(), CQdReset(), CQdSetStage(), and CQdSubtreeSetDirty().
Referenced by CQdCallWhenIdle().
static void CQdCallWhenIdle | ( | CQdMsg | msg | ) | [static] |
Definition at line 256 of file quiescence.C.
References CmiAbort(), CQdHandlePhase0(), CQdHandlePhase1(), CQdHandlePhase2(), and CQdMsgGetPhase().
Referenced by CQdHandler().
void CQdHandler | ( | CQdMsg | msg | ) |
Definition at line 269 of file quiescence.C.
References CcdCallOnCondition(), CQdCallWhenIdle(), and CQdProcess().
Referenced by CQdInit().
void CQdRegisterCallback | ( | CQdVoidFn | fn, | |
void * | arg | |||
) |
Definition at line 277 of file quiescence.C.
References CcdCallOnCondition().
Referenced by CmiStartQD().
void CQdAnnounceHandler | ( | CQdMsg | msg | ) |
Definition at line 282 of file quiescence.C.
References CcdRaiseCondition(), and CQdProcess().
Referenced by CQdInit().
void CQdCpvInit | ( | void | ) |
Definition at line 288 of file quiescence.C.
References CQdStateCreate().
Referenced by CommunicationServerInit(), and CQdInit().
void CQdInit | ( | void | ) |
Definition at line 293 of file quiescence.C.
References _CQdAnnounceHandlerIdx, _CQdHandlerIdx, CmiRegisterHandler(), CQdAnnounceHandler(), CQdCpvInit(), and CQdHandler().
Referenced by ConverseCommonInit().
void CmiStartQD | ( | CQdVoidFn | fn, | |
void * | arg | |||
) |
Definition at line 301 of file quiescence.C.
References _CQdHandlerIdx, CmiAlloc(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdMsgSetPhase(), CQdRegisterCallback(), and msg.
Referenced by CkMessageReplay::CkMessageReplay().
unsigned int _CQdHandlerIdx |
Definition at line 28 of file quiescence.C.
Referenced by CmiStartQD(), CQdInit(), and CQdPropagate().
unsigned int _CQdAnnounceHandlerIdx |