PPL Logo

conv-core/quiescence.C File Reference

Go to the source code of this file.

Functions

 CpvDeclare (CQdState, cQdState)
int CQdMsgGetPhase (CQdMsg msg)
void CQdMsgSetPhase (CQdMsg msg, int p)
CmiInt8 CQdMsgGetCreated (CQdMsg msg)
void CQdMsgSetCreated (CQdMsg msg, CmiInt8 c)
CmiInt8 CQdMsgGetProcessed (CQdMsg msg)
void CQdMsgSetProcessed (CQdMsg msg, CmiInt8 p)
char CQdMsgGetDirty (CQdMsg msg)
void CQdMsgSetDirty (CQdMsg msg, char d)
CmiInt8 CQdGetCreated (CQdState state)
void CQdCreate (CQdState state, CmiInt8 n)
CmiInt8 CQdGetProcessed (CQdState state)
void CQdProcess (CQdState state, CmiInt8 n)
void CQdPropagate (CQdState state, CQdMsg msg)
int CQdGetParent (CQdState state)
CmiInt8 CQdGetCCreated (CQdState state)
CmiInt8 CQdGetCProcessed (CQdState state)
void CQdSubtreeCreate (CQdState state, CmiInt8 c)
void CQdSubtreeProcess (CQdState state, CmiInt8 p)
int CQdGetStage (CQdState state)
void CQdSetStage (CQdState state, int p)
void CQdReported (CQdState state)
int CQdAllReported (CQdState state)
void CQdReset (CQdState state)
void CQdMarkProcessed (CQdState state)
char CQdIsDirty (CQdState state)
void CQdSubtreeSetDirty (CQdState state, char d)
CQdState CQdStateCreate (void)
static void CQdBcastQD1 (CQdState state, CQdMsg msg)
static void CQdBcastQD2 (CQdState state, CQdMsg msg)
static void CQdHandlePhase0 (CQdState state, CQdMsg msg)
static void CQdHandlePhase1 (CQdState state, CQdMsg msg)
static void CQdHandlePhase2 (CQdState state, CQdMsg msg)
static void CQdCallWhenIdle (CQdMsg msg)
void CQdHandler (CQdMsg msg)
void CQdRegisterCallback (CQdVoidFn fn, void *arg)
void CQdAnnounceHandler (CQdMsg msg)
void CQdCpvInit (void)
void CQdInit (void)
void CmiStartQD (CQdVoidFn fn, void *arg)

Variables

unsigned int _CQdHandlerIdx
unsigned int _CQdAnnounceHandlerIdx


Function Documentation

CpvDeclare ( CQdState  ,
cQdState   
)

int CQdMsgGetPhase ( CQdMsg  msg  ) 

Definition at line 32 of file quiescence.C.

References ConvQdMsg::phase.

Referenced by CQdCallWhenIdle().

Here is the caller graph for this function:

void CQdMsgSetPhase ( CQdMsg  msg,
int  p 
)

Definition at line 35 of file quiescence.C.

References ConvQdMsg::phase.

Referenced by CmiStartQD(), CQdBcastQD1(), and CQdBcastQD2().

Here is the caller graph for this function:

CmiInt8 CQdMsgGetCreated ( CQdMsg  msg  ) 

Definition at line 38 of file quiescence.C.

References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

void CQdMsgSetCreated ( CQdMsg  msg,
CmiInt8  c 
)

Definition at line 41 of file quiescence.C.

References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.

Referenced by CQdBcastQD1(), and CQdHandlePhase1().

Here is the caller graph for this function:

CmiInt8 CQdMsgGetProcessed ( CQdMsg  msg  ) 

Definition at line 44 of file quiescence.C.

References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

void CQdMsgSetProcessed ( CQdMsg  msg,
CmiInt8  p 
)

Definition at line 47 of file quiescence.C.

References ConvQdMsg::p1, ConvQdMsg::phase, and ConvQdMsg::u.

Referenced by CQdBcastQD1(), and CQdHandlePhase1().

Here is the caller graph for this function:

char CQdMsgGetDirty ( CQdMsg  msg  ) 

Definition at line 50 of file quiescence.C.

References ConvQdMsg::p2, ConvQdMsg::phase, and ConvQdMsg::u.

Referenced by CQdHandlePhase2().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

CmiInt8 CQdGetCreated ( CQdState  state  ) 

Definition at line 57 of file quiescence.C.

References ConvQdState::mCreated.

Referenced by CQdBcastQD1().

Here is the caller graph for this function:

void CQdCreate ( CQdState  state,
CmiInt8  n 
)

CmiInt8 CQdGetProcessed ( CQdState  state  ) 

Definition at line 63 of file quiescence.C.

References ConvQdState::mProcessed.

Referenced by CQdBcastQD1().

Here is the caller graph for this function:

void CQdProcess ( CQdState  state,
CmiInt8  n 
)

Definition at line 66 of file quiescence.C.

References ConvQdState::mProcessed.

Referenced by CmiHandleImmediateMessage(), CQdAnnounceHandler(), and CQdHandler().

Here is the caller graph for this function:

void CQdPropagate ( CQdState  state,
CQdMsg  msg 
)

Definition at line 69 of file quiescence.C.

References _CQdHandlerIdx, ConvQdState::children, Converse::CmiSyncSend(), CQdCreate(), and ConvQdState::nChildren.

Referenced by CQdBcastQD1(), and CQdBcastQD2().

Here is the call graph for this function:

Here is the caller graph for this function:

int CQdGetParent ( CQdState  state  ) 

Definition at line 79 of file quiescence.C.

References ConvQdState::parent.

Referenced by CQdHandlePhase1(), and CQdHandlePhase2().

Here is the caller graph for this function:

CmiInt8 CQdGetCCreated ( CQdState  state  ) 

Definition at line 82 of file quiescence.C.

References ConvQdState::cCreated.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

CmiInt8 CQdGetCProcessed ( CQdState  state  ) 

Definition at line 85 of file quiescence.C.

References ConvQdState::cProcessed.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

void CQdSubtreeCreate ( CQdState  state,
CmiInt8  c 
)

Definition at line 88 of file quiescence.C.

References ConvQdState::cCreated.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

void CQdSubtreeProcess ( CQdState  state,
CmiInt8  p 
)

Definition at line 91 of file quiescence.C.

References ConvQdState::cProcessed.

Referenced by CQdHandlePhase1().

Here is the caller graph for this function:

int CQdGetStage ( CQdState  state  ) 

Definition at line 94 of file quiescence.C.

References ConvQdState::stage.

Referenced by CQdHandlePhase0(), CQdHandlePhase1(), and CQdHandlePhase2().

Here is the caller graph for this function:

void CQdSetStage ( CQdState  state,
int  p 
)

Definition at line 97 of file quiescence.C.

References ConvQdState::stage.

Referenced by CQdBcastQD1(), CQdBcastQD2(), CQdHandlePhase1(), and CQdHandlePhase2().

Here is the caller graph for this function:

void CQdReported ( CQdState  state  ) 

Definition at line 100 of file quiescence.C.

References ConvQdState::nReported.

Referenced by CQdHandlePhase1(), and CQdHandlePhase2().

Here is the caller graph for this function:

int CQdAllReported ( CQdState  state  ) 

Definition at line 103 of file quiescence.C.

References ConvQdState::nChildren, and ConvQdState::nReported.

Referenced by CQdHandlePhase1(), and CQdHandlePhase2().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void CQdMarkProcessed ( CQdState  state  ) 

Definition at line 112 of file quiescence.C.

References ConvQdState::mProcessed, and ConvQdState::oProcessed.

Referenced by CQdBcastQD1().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void CQdSubtreeSetDirty ( CQdState  state,
char  d 
)

Definition at line 118 of file quiescence.C.

References ConvQdState::cDirty.

Referenced by CQdHandlePhase2().

Here is the caller graph for this function:

CQdState CQdStateCreate ( void   ) 

static void CQdBcastQD1 ( CQdState  state,
CQdMsg  msg 
) [static]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CQdBcastQD2 ( CQdState  state,
CQdMsg  msg 
) [static]

Definition at line 163 of file quiescence.C.

References CmiMyPe(), Converse::CmiSyncSendAndFree(), CQdCreate(), CQdIsDirty(), CQdMsgSetDirty(), CQdMsgSetPhase(), CQdPropagate(), CQdReset(), and CQdSetStage().

Referenced by CQdHandlePhase1().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CQdHandlePhase0 ( CQdState  state,
CQdMsg  msg 
) [static]

Definition at line 176 of file quiescence.C.

References CmiFree(), CmiMyPe(), CQdBcastQD1(), and CQdGetStage().

Referenced by CQdCallWhenIdle().

Here is the call graph for this function:

Here is the caller graph for this function:

static void CQdHandlePhase1 ( CQdState  state,
CQdMsg  msg 
) [static]

static void CQdHandlePhase2 ( CQdState  state,
CQdMsg  msg 
) [static]

static void CQdCallWhenIdle ( CQdMsg  msg  )  [static]

Definition at line 256 of file quiescence.C.

References CmiAbort(), CQdHandlePhase0(), CQdHandlePhase1(), CQdHandlePhase2(), and CQdMsgGetPhase().

Referenced by CQdHandler().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQdHandler ( CQdMsg  msg  ) 

Definition at line 269 of file quiescence.C.

References CcdCallOnCondition(), CQdCallWhenIdle(), and CQdProcess().

Referenced by CQdInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQdRegisterCallback ( CQdVoidFn  fn,
void *  arg 
)

Definition at line 277 of file quiescence.C.

References CcdCallOnCondition().

Referenced by CmiStartQD().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQdAnnounceHandler ( CQdMsg  msg  ) 

Definition at line 282 of file quiescence.C.

References CcdRaiseCondition(), and CQdProcess().

Referenced by CQdInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQdCpvInit ( void   ) 

Definition at line 288 of file quiescence.C.

References CQdStateCreate().

Referenced by CommunicationServerInit(), and CQdInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CQdInit ( void   ) 

Definition at line 293 of file quiescence.C.

References _CQdAnnounceHandlerIdx, _CQdHandlerIdx, CmiRegisterHandler(), CQdAnnounceHandler(), CQdCpvInit(), and CQdHandler().

Referenced by ConverseCommonInit().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

unsigned int _CQdHandlerIdx

Definition at line 28 of file quiescence.C.

Referenced by CmiStartQD(), CQdInit(), and CQdPropagate().

Definition at line 29 of file quiescence.C.

Referenced by CQdHandlePhase2(), and CQdInit().


Generated on Mon Sep 21 08:02:34 2020 for Charm++ by  doxygen 1.5.5