PPL Logo

ck-core/qd.C File Reference

Go to the source code of this file.

Data Structures

class  QdMsg
class  QdCommMsg
class  QdCallback

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]

Definition at line 106 of file qd.C.

References CmiMyPe(), Converse::CmiSyncSendAndFree(), QdState::getStage(), envelope::getTotalsize(), QdState::isDirty(), QdState::propagate(), QdState::reset(), QdMsg::setDirty(), QdMsg::setPhase(), QdState::setStage(), and UsrToEnv().

Referenced by _handlePhase1().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 120 of file qd.C.

References _bcastQD1(), CkFreeMsg(), CmiMyPe(), QdState::enq(), QdMsg::getCb(), QdMsg::getPhase(), and QdState::getStage().

Referenced by _callWhenIdle().

Here is the call graph for this function:

Here is the caller graph for this function:

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 217 of file qd.C.

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

Referenced by _qdHandler().

Here is the call graph for this function:

Here is the caller graph for this function:

static void _invokeQD ( QdMsg msg  )  [static]

Definition at line 229 of file qd.C.

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

Referenced by _qdHandler().

Here is the call graph for this function:

Here is the caller graph for this function:

void _qdHandler ( envelope env  ) 

Definition at line 236 of file qd.C.

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

Referenced by initQd().

Here is the call graph for this function:

Here is the caller graph for this function:

void _qdCommHandler ( envelope env  ) 

Definition at line 248 of file qd.C.

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

Referenced by initQd().

Here is the call graph for this function:

Here is the caller graph for this function:

void CkStartQD ( const CkCallback cb  ) 


Generated on Mon Sep 21 07:59:11 2020 for Charm++ by  doxygen 1.5.5