Go to the source code of this file.
| CpvDeclare | ( | CQdState | , | |
| cQdState | ||||
| ) |
Definition at line 35 of file quiescence.c.
References ConvQdMsg::phase.
Referenced by CQdCallWhenIdle().
Definition at line 38 of file quiescence.c.
References p, and ConvQdMsg::phase.
Referenced by CmiStartQD(), CQdBcastQD1(), and CQdBcastQD2().
Definition at line 41 of file quiescence.c.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase1().
Definition at line 44 of file quiescence.c.
References c, ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD1(), and CQdHandlePhase1().
Definition at line 47 of file quiescence.c.
References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase1().
Definition at line 50 of file quiescence.c.
References p, ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD1(), and CQdHandlePhase1().
Definition at line 53 of file quiescence.c.
References ConvQdMsg::p2, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdHandlePhase2().
Definition at line 56 of file quiescence.c.
References ConvQdMsg::p2, ConvQdMsg::phase, and ConvQdMsg::u.
Referenced by CQdBcastQD2(), and CQdHandlePhase2().
Definition at line 72 of file quiescence.c.
References _CQdHandlerIdx, ConvQdState::children, Converse::CmiSyncSend(), CQdCreate(), and ConvQdState::nChildren.
Referenced by CQdBcastQD1(), and CQdBcastQD2().
Definition at line 82 of file quiescence.c.
References ConvQdState::parent.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 85 of file quiescence.c.
References ConvQdState::cCreated.
Referenced by CQdHandlePhase1().
Definition at line 88 of file quiescence.c.
References ConvQdState::cProcessed.
Referenced by CQdHandlePhase1().
Definition at line 91 of file quiescence.c.
References c, and ConvQdState::cCreated.
Referenced by CQdHandlePhase1().
Definition at line 94 of file quiescence.c.
References ConvQdState::cProcessed, and p.
Referenced by CQdHandlePhase1().
Definition at line 97 of file quiescence.c.
References ConvQdState::stage.
Referenced by CQdHandlePhase0(), CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 100 of file quiescence.c.
References p, and ConvQdState::stage.
Referenced by CQdBcastQD1(), CQdBcastQD2(), CQdHandlePhase1(), and CQdHandlePhase2().
| void CQdReported | ( | CQdState | state | ) |
Definition at line 103 of file quiescence.c.
References ConvQdState::nReported.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
Definition at line 106 of file quiescence.c.
References ConvQdState::nChildren, and ConvQdState::nReported.
Referenced by CQdHandlePhase1(), and CQdHandlePhase2().
| void CQdReset | ( | CQdState | state | ) |
Definition at line 109 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 115 of file quiescence.c.
References ConvQdState::mProcessed, and ConvQdState::oProcessed.
Referenced by CQdBcastQD1().
Definition at line 118 of file quiescence.c.
References ConvQdState::cDirty, ConvQdState::mProcessed, and ConvQdState::oProcessed.
Referenced by CQdBcastQD2(), and CQdHandlePhase2().
Definition at line 121 of file quiescence.c.
References ConvQdState::cDirty.
Referenced by CQdHandlePhase2().
| CQdState CQdStateCreate | ( | void | ) |
Definition at line 124 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 151 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 166 of file quiescence.c.
References CmiMyPe(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdIsDirty(), CQdMsgSetDirty(), CQdMsgSetPhase(), CQdPropagate(), CQdReset(), and CQdSetStage().
Referenced by CQdHandlePhase1().
Definition at line 179 of file quiescence.c.
References CmiFree(), CmiMyPe(), CQdBcastQD1(), and CQdGetStage().
Referenced by CQdCallWhenIdle().
Definition at line 189 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 228 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 259 of file quiescence.c.
References CmiAbort(), CQdHandlePhase0(), CQdHandlePhase1(), CQdHandlePhase2(), and CQdMsgGetPhase().
Referenced by CQdHandler().
| void CQdHandler | ( | CQdMsg | msg | ) |
Definition at line 272 of file quiescence.c.
References CcdCallOnCondition(), CQdCallWhenIdle(), and CQdProcess().
Referenced by CQdInit().
| void CQdRegisterCallback | ( | CQdVoidFn | fn, | |
| void * | arg | |||
| ) |
Definition at line 280 of file quiescence.c.
References CcdCallOnCondition().
Referenced by CmiStartQD().
| void CQdAnnounceHandler | ( | CQdMsg | msg | ) |
Definition at line 285 of file quiescence.c.
References CcdRaiseCondition(), and CQdProcess().
Referenced by CQdInit().
| void CQdCpvInit | ( | void | ) |
Definition at line 291 of file quiescence.c.
References CQdStateCreate().
Referenced by CommunicationServerInit(), and CQdInit().
| void CQdInit | ( | void | ) |
Definition at line 296 of file quiescence.c.
References _CQdAnnounceHandlerIdx, _CQdHandlerIdx, CmiRegisterHandler(), CQdAnnounceHandler(), CQdCpvInit(), and CQdHandler().
| void CmiStartQD | ( | CQdVoidFn | fn, | |
| void * | arg | |||
| ) |
Definition at line 304 of file quiescence.c.
References _CQdHandlerIdx, CmiAlloc(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdMsgSetPhase(), and CQdRegisterCallback().
Referenced by BgShutdown().
| unsigned int _CQdHandlerIdx |
Definition at line 31 of file quiescence.c.
Referenced by CmiStartQD(), CQdInit(), and CQdPropagate().
| unsigned int _CQdAnnounceHandlerIdx |
1.5.1