PPL Logo

ck-core/qd.C File Reference

Go to the source code of this file.

Functions

 CpvDeclare (QdState *, _qd)
static void _bcastQD1 (QdState *state, QdMsg *msg)
static void _bcastQD2 (QdState *state, QdMsg *msg)
static void _handlePhase0 (QdState *state, QdMsg *msg)
static void _handlePhase1 (QdState *state, QdMsg *msg)
static void _handlePhase2 (QdState *state, QdMsg *msg)
static void _callWhenIdle (QdMsg *msg)
static void _invokeQD (QdMsg *msg)
void _qdHandler (envelope *env)
void _qdCommHandler (envelope *env)
void CkStartQD (const CkCallback &cb)
void CkStartQD (int eIdx, const CkChareID *cid)
 When quiescence occurs, send a message to this entry point of this Chare.

Variables

int _qdCommHandlerIdx
int _dummy_dq = 0


Function Documentation

CpvDeclare ( QdState ,
_qd   
)

static void _bcastQD1 ( QdState state,
QdMsg msg 
) [inline, static]

static void _bcastQD2 ( QdState state,
QdMsg msg 
) [inline, static]

static void _handlePhase0 ( QdState state,
QdMsg msg 
) [inline, static]

static void _handlePhase1 ( QdState state,
QdMsg msg 
) [inline, static]

static void _handlePhase2 ( QdState state,
QdMsg msg 
) [inline, static]

static void _callWhenIdle ( QdMsg msg  )  [static]

Definition at line 165 of file qd.C.

References _handlePhase0(), _handlePhase1(), _handlePhase2(), CmiAbort(), CmiMyPe(), and QdMsg::getPhase().

Referenced by _qdHandler().

static void _invokeQD ( QdMsg msg  )  [static]

Definition at line 177 of file qd.C.

References QdMsg::getCb(), and QdCallback::send().

Referenced by _qdHandler().

void _qdHandler ( envelope env  ) 

Definition at line 184 of file qd.C.

References _callWhenIdle(), _invokeQD(), CcdCallFnAfter(), CcdCallOnCondition(), CmiMyPe(), EnvToUsr(), and msg.

Referenced by initQd().

void _qdCommHandler ( envelope env  ) 

Definition at line 196 of file qd.C.

References CmiFree(), CmiMyPe(), QdCommMsg::count, EnvToUsr(), QdCommMsg::flag, and msg.

Referenced by initQd().

void CkStartQD ( const CkCallback cb  ) 


Generated on Sat May 26 08:08:06 2012 for Charm++ by  doxygen 1.5.5