#include <collidecharm_impl.h>
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 |
Definition at line 97 of file collidecharm_impl.h.
anonymous enum [private] |
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.
void syncReductionMgr::status | ( | const char * | msg | ) | [inline, private] |
Definition at line 100 of file collidecharm_impl.h.
References Converse::CkMyPe().
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().
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().
void syncReductionMgr::advance | ( | void | ) | [protected] |
Definition at line 332 of file collidecharm.C.
References localFinished, startStep(), stepCount, stepFinished, and tryFinish().
void syncReductionMgr::pleaseAdvance | ( | void | ) | [protected, virtual] |
Definition at line 340 of file collidecharm.C.
Referenced by startStep().
void syncReductionMgr::reductionFinished | ( | void | ) | [protected, virtual] |
Definition at line 344 of file collidecharm.C.
Referenced by tryFinish().
int syncReductionMgr::getStepCount | ( | void | ) | const [inline] |
void syncReductionMgr::childProd | ( | int | stepCount | ) |
Definition at line 360 of file collidecharm.C.
References startStep(), stepFinished, and tryFinish().
void syncReductionMgr::childDone | ( | int | stepCount | ) |
Definition at line 367 of file collidecharm.C.
References childrenCount, startStep(), stepFinished, and tryFinish().
CProxy_syncReductionMgr syncReductionMgr::thisproxy [private] |
int syncReductionMgr::onPE [private] |
int syncReductionMgr::treeParent [private] |
Definition at line 106 of file collidecharm_impl.h.
Referenced by syncReductionMgr(), and tryFinish().
int syncReductionMgr::treeChildStart [private] |
Definition at line 107 of file collidecharm_impl.h.
Referenced by startStep(), and syncReductionMgr().
int syncReductionMgr::treeChildEnd [private] |
int syncReductionMgr::nChildren [private] |
Definition at line 108 of file collidecharm_impl.h.
Referenced by startStep(), syncReductionMgr(), and tryFinish().
int syncReductionMgr::stepCount [private] |
Definition at line 112 of file collidecharm_impl.h.
Referenced by advance(), getStepCount(), startStep(), syncReductionMgr(), and tryFinish().
bool syncReductionMgr::stepFinished [private] |
Definition at line 113 of file collidecharm_impl.h.
Referenced by advance(), childDone(), childProd(), startStep(), syncReductionMgr(), and tryFinish().
bool syncReductionMgr::localFinished [private] |
Definition at line 114 of file collidecharm_impl.h.
Referenced by advance(), startStep(), syncReductionMgr(), and tryFinish().
int syncReductionMgr::childrenCount [private] |
Definition at line 115 of file collidecharm_impl.h.
Referenced by childDone(), startStep(), and tryFinish().