PPL Logo

QdState Class Reference

#include <qd.h>

Collaboration diagram for QdState:

Collaboration graph
[legend]

Public Member Functions

 QdState ()
void propagate (QdMsg *msg)
int getParent (void)
QdCallbackdeq (void)
void enq (QdCallback *c)
void create (int n=1)
void sendCount (bool isCreated, int count)
void process (int n=1)
CmiInt8 getCreated (void)
CmiInt8 getProcessed (void)
CmiInt8 getCCreated (void)
CmiInt8 getCProcessed (void)
void subtreeCreate (CmiInt8 c)
void subtreeProcess (CmiInt8 p)
int getStage (void)
void setStage (int p)
void reported (void)
int allReported (void)
void reset (void)
void markProcessed (void)
int isDirty (void)
void subtreeSetDirty (char d)
void flushStates ()

Data Fields

CmiInt8 oldCount

Private Attributes

int stage
char cDirty
CmiInt8 oProcessed
CmiInt8 mCreated
CmiInt8 mProcessed
CmiInt8 cCreated
CmiInt8 cProcessed
int nReported
PtrQcallbacks
int nChildren
int parent
std::vector< intchildren

Detailed Description

Definition at line 11 of file qd.h.


Constructor & Destructor Documentation

QdState::QdState (  )  [inline]

Definition at line 26 of file qd.h.

References callbacks, cCreated, cDirty, children, CmiMyPe(), CmiNumSpanTreeChildren(), CmiSpanTreeChildren(), CmiSpanTreeParent(), cProcessed, nChildren, oldCount, oProcessed, and parent.

Here is the call graph for this function:


Member Function Documentation

void QdState::propagate ( QdMsg msg  )  [inline]

Definition at line 41 of file qd.h.

References _qdHandlerIdx, children, Converse::CmiSyncSend(), CmiSyncSendFn(), envelope::getTotalsize(), nChildren, and UsrToEnv().

Referenced by _bcastQD1(), and _bcastQD2().

Here is the call graph for this function:

Here is the caller graph for this function:

int QdState::getParent ( void   )  [inline]

Definition at line 52 of file qd.h.

References parent.

Referenced by _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

QdCallback* QdState::deq ( void   )  [inline]

Definition at line 53 of file qd.h.

References callbacks, and CkQ< T >::deq().

Referenced by _handlePhase2().

Here is the call graph for this function:

Here is the caller graph for this function:

void QdState::enq ( QdCallback c  )  [inline]

Definition at line 54 of file qd.h.

References callbacks, and CkQ< T >::enq().

Referenced by _handlePhase0().

Here is the call graph for this function:

Here is the caller graph for this function:

void QdState::create ( int  n = 1  )  [inline]

Definition at line 55 of file qd.h.

References mCreated, n, and sendCount().

Referenced by CkCoreState::create().

Here is the call graph for this function:

Here is the caller graph for this function:

void QdState::sendCount ( bool  isCreated,
int  count 
)

Definition at line 259 of file qd.C.

References _dummy_dq, _qdCommHandlerIdx, CkAllocMsg(), CmiFreeSendFn(), CmiMyRank(), CmiNodeFirst(), QdCommMsg::count, envelope::getTotalsize(), QdCommMsg::isCreated, msg, and UsrToEnv().

Referenced by create(), and process().

Here is the call graph for this function:

Here is the caller graph for this function:

void QdState::process ( int  n = 1  )  [inline]

Definition at line 62 of file qd.h.

References mProcessed, n, and sendCount().

Referenced by CkCoreState::process().

Here is the call graph for this function:

Here is the caller graph for this function:

CmiInt8 QdState::getCreated ( void   )  [inline]

Definition at line 68 of file qd.h.

References mCreated.

Referenced by _bcastQD1().

Here is the caller graph for this function:

CmiInt8 QdState::getProcessed ( void   )  [inline]

Definition at line 69 of file qd.h.

References mProcessed.

Referenced by _bcastQD1().

Here is the caller graph for this function:

CmiInt8 QdState::getCCreated ( void   )  [inline]

Definition at line 70 of file qd.h.

References cCreated.

Referenced by _handlePhase1().

Here is the caller graph for this function:

CmiInt8 QdState::getCProcessed ( void   )  [inline]

Definition at line 71 of file qd.h.

References cProcessed.

Referenced by _handlePhase1().

Here is the caller graph for this function:

void QdState::subtreeCreate ( CmiInt8  c  )  [inline]

Definition at line 72 of file qd.h.

References cCreated.

Referenced by _handlePhase1().

Here is the caller graph for this function:

void QdState::subtreeProcess ( CmiInt8  p  )  [inline]

Definition at line 73 of file qd.h.

References cProcessed.

Referenced by _handlePhase1().

Here is the caller graph for this function:

int QdState::getStage ( void   )  [inline]

Definition at line 74 of file qd.h.

References stage.

Referenced by _bcastQD1(), _bcastQD2(), _handlePhase0(), _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

void QdState::setStage ( int  p  )  [inline]

Definition at line 75 of file qd.h.

References stage.

Referenced by _bcastQD1(), _bcastQD2(), _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

void QdState::reported ( void   )  [inline]

Definition at line 76 of file qd.h.

References nReported.

Referenced by _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

int QdState::allReported ( void   )  [inline]

Definition at line 77 of file qd.h.

References nChildren, and nReported.

Referenced by _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

void QdState::reset ( void   )  [inline]

Definition at line 78 of file qd.h.

References cCreated, cDirty, cProcessed, and nReported.

Referenced by _bcastQD1(), _bcastQD2(), _handlePhase1(), and _handlePhase2().

Here is the caller graph for this function:

void QdState::markProcessed ( void   )  [inline]

Definition at line 79 of file qd.h.

References mProcessed, and oProcessed.

Referenced by _bcastQD1().

Here is the caller graph for this function:

int QdState::isDirty ( void   )  [inline]

Definition at line 80 of file qd.h.

References cDirty, mProcessed, and oProcessed.

Referenced by _bcastQD2(), and _handlePhase2().

Here is the caller graph for this function:

void QdState::subtreeSetDirty ( char  d  )  [inline]

Definition at line 81 of file qd.h.

References cDirty.

Referenced by _handlePhase2().

Here is the caller graph for this function:

void QdState::flushStates (  )  [inline]

Definition at line 82 of file qd.h.

References cCreated, cDirty, cProcessed, mCreated, mProcessed, nReported, oProcessed, and stage.


Field Documentation

int QdState::stage [private]

Definition at line 13 of file qd.h.

Referenced by flushStates(), getStage(), and setStage().

char QdState::cDirty [private]

Definition at line 14 of file qd.h.

Referenced by flushStates(), isDirty(), QdState(), reset(), and subtreeSetDirty().

Definition at line 15 of file qd.h.

Referenced by flushStates(), isDirty(), markProcessed(), and QdState().

Definition at line 16 of file qd.h.

Referenced by create(), flushStates(), and getCreated().

Definition at line 16 of file qd.h.

Referenced by flushStates(), getProcessed(), isDirty(), markProcessed(), and process().

Definition at line 17 of file qd.h.

Referenced by flushStates(), getCCreated(), QdState(), reset(), and subtreeCreate().

Definition at line 17 of file qd.h.

Referenced by flushStates(), getCProcessed(), QdState(), reset(), and subtreeProcess().

Definition at line 18 of file qd.h.

Referenced by allReported(), flushStates(), reported(), and reset().

Definition at line 19 of file qd.h.

Referenced by deq(), enq(), and QdState().

Definition at line 20 of file qd.h.

Referenced by allReported(), propagate(), and QdState().

int QdState::parent [private]

Definition at line 21 of file qd.h.

Referenced by getParent(), and QdState().

std::vector<int> QdState::children [private]

Definition at line 22 of file qd.h.

Referenced by propagate(), and QdState().

Definition at line 24 of file qd.h.

Referenced by _handlePhase1(), and QdState().


The documentation for this class was generated from the following files:

Generated on Mon Sep 21 08:29:16 2020 for Charm++ by  doxygen 1.5.5