PPL Logo

syncReductionMgr Class Reference

#include <collidecharm_impl.h>

Inheritance diagram for syncReductionMgr:

Inheritance graph
[legend]
Collaboration diagram for syncReductionMgr:

Collaboration graph
[legend]

Public Member Functions

int getStepCount (void) const
 syncReductionMgr ()
void childProd (int stepCount)
void childDone (int stepCount)

Protected Member Functions

void advance (void)
virtual void pleaseAdvance (void)
virtual void reductionFinished (void)

Private Types

enum  { TREE_WID = 4 }

Private Member Functions

void status (const char *msg)
void startStep (int stepNo, bool withProd)
void tryFinish (void)

Private Attributes

CProxy_syncReductionMgr thisproxy
int onPE
int treeParent
int treeChildStart
int treeChildEnd
int nChildren
int stepCount
bool stepFinished
bool localFinished
int childrenCount

Detailed Description

Definition at line 97 of file collidecharm_impl.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
TREE_WID 

Definition at line 105 of file collidecharm_impl.h.


Constructor & Destructor Documentation

syncReductionMgr::syncReductionMgr (  ) 

Definition at line 298 of file collidecharm.C.

References Converse::CkMyPe(), Converse::CkNumPes(), localFinished, nChildren, onPE, stepCount, stepFinished, TREE_WID, treeChildEnd, treeChildStart, and treeParent.

Here is the call graph for this function:


Member Function Documentation

void syncReductionMgr::status ( const char *  msg  )  [inline, private]

Definition at line 100 of file collidecharm_impl.h.

References Converse::CkMyPe().

Here is the call graph for this function:

void syncReductionMgr::startStep ( int  stepNo,
bool  withProd 
) [private]

Definition at line 315 of file collidecharm.C.

References childrenCount, Converse::CkNumPes(), localFinished, nChildren, pleaseAdvance(), stepCount, stepFinished, thisproxy, TREE_WID, and treeChildStart.

Referenced by advance(), childDone(), and childProd().

Here is the call graph for this function:

Here is the caller graph for this function:

void syncReductionMgr::tryFinish ( void   )  [private]

Definition at line 347 of file collidecharm.C.

References childrenCount, localFinished, nChildren, reductionFinished(), stepCount, stepFinished, thisproxy, and treeParent.

Referenced by advance(), childDone(), and childProd().

Here is the call graph for this function:

Here is the caller graph for this function:

void syncReductionMgr::advance ( void   )  [protected]

Definition at line 332 of file collidecharm.C.

References localFinished, startStep(), stepCount, stepFinished, and tryFinish().

Here is the call graph for this function:

void syncReductionMgr::pleaseAdvance ( void   )  [protected, virtual]

Definition at line 340 of file collidecharm.C.

Referenced by startStep().

Here is the caller graph for this function:

void syncReductionMgr::reductionFinished ( void   )  [protected, virtual]

Definition at line 344 of file collidecharm.C.

Referenced by tryFinish().

Here is the caller graph for this function:

int syncReductionMgr::getStepCount ( void   )  const [inline]

Definition at line 126 of file collidecharm_impl.h.

References stepCount.

void syncReductionMgr::childProd ( int  stepCount  ) 

Definition at line 360 of file collidecharm.C.

References startStep(), stepFinished, and tryFinish().

Here is the call graph for this function:

void syncReductionMgr::childDone ( int  stepCount  ) 

Definition at line 367 of file collidecharm.C.

References childrenCount, startStep(), stepFinished, and tryFinish().

Here is the call graph for this function:


Field Documentation

CProxy_syncReductionMgr syncReductionMgr::thisproxy [private]

Definition at line 99 of file collidecharm_impl.h.

Referenced by startStep(), and tryFinish().

Definition at line 104 of file collidecharm_impl.h.

Referenced by syncReductionMgr().

Definition at line 106 of file collidecharm_impl.h.

Referenced by syncReductionMgr(), and tryFinish().

Definition at line 107 of file collidecharm_impl.h.

Referenced by startStep(), and syncReductionMgr().

Definition at line 107 of file collidecharm_impl.h.

Referenced by syncReductionMgr().

Definition at line 108 of file collidecharm_impl.h.

Referenced by startStep(), syncReductionMgr(), and tryFinish().

Definition at line 112 of file collidecharm_impl.h.

Referenced by advance(), getStepCount(), startStep(), syncReductionMgr(), and tryFinish().

Definition at line 114 of file collidecharm_impl.h.

Referenced by advance(), startStep(), syncReductionMgr(), and tryFinish().

Definition at line 115 of file collidecharm_impl.h.

Referenced by childDone(), startStep(), and tryFinish().


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

Generated on Mon Sep 21 08:30:20 2020 for Charm++ by  doxygen 1.5.5