#include <lbObject.h>
Public Member Functions | |
lbObjects () | |
int | Insert (int sync, int index, sim *myPtr) |
void | Delete (int idx) |
void | UpdateEntry (int idx, POSE_TimeType ovt, POSE_TimeType eet, int ne, double rbOh, int *srVec) |
void | AddComm (int idx, int pe, int sr) |
void | ResetComm () |
void | RequestReport () |
void | dump () |
Data Fields | |
int | numObjs |
int | numSpaces |
int | size |
int | firstEmpty |
lbObjectNode * | objs |
Definition at line 44 of file lbObject.h.
lbObjects::lbObjects | ( | ) |
Definition at line 9 of file lbObject.C.
References CkExit(), Converse::CkNumPes(), comm, lbObjectNode::comm, lbObjectNode::eet, lbObjectNode::execPrio, firstEmpty, int, lbObjectNode::localComm, malloc(), lbObjectNode::maxComm, lbObjectNode::maxCommPE, lbObjectNode::ne, numObjs, numSpaces, objs, lbObjectNode::present, lbObjectNode::rbOh, lbObjectNode::remoteComm, size, and lbObjectNode::totalComm.
Definition at line 31 of file lbObject.C.
References CkExit(), Converse::CkNumPes(), comm, lbObjectNode::comm, lbObjectNode::eet, lbObjectNode::execPrio, firstEmpty, idx, lbObjectNode::index, int, lbObjectNode::localComm, lbObjectNode::localObjPtr, malloc(), lbObjectNode::maxComm, lbObjectNode::maxCommPE, lbObjectNode::ne, numObjs, numSpaces, objs, lbObjectNode::present, lbObjectNode::rbOh, realloc(), lbObjectNode::remoteComm, size, lbObjectNode::sync, and lbObjectNode::totalComm.
Referenced by LBgroup::objRegister().
void lbObjects::Delete | ( | int | idx | ) |
Definition at line 81 of file lbObject.C.
References firstEmpty, lbObjectNode::localObjPtr, numObjs, objs, and lbObjectNode::present.
Referenced by LBgroup::objRemove().
void lbObjects::UpdateEntry | ( | int | idx, | |
POSE_TimeType | ovt, | |||
POSE_TimeType | eet, | |||
int | ne, | |||
double | rbOh, | |||
int * | srVec | |||
) |
Definition at line 90 of file lbObject.C.
References AddComm(), Converse::CkNumPes(), lbObjectNode::eet, lbObjectNode::ne, objs, lbObjectNode::ovt, and lbObjectNode::rbOh.
Referenced by LBgroup::objUpdate().
Definition at line 105 of file lbObject.C.
References Converse::CkMyPe(), lbObjectNode::comm, lbObjectNode::localComm, objs, lbObjectNode::remoteComm, and lbObjectNode::totalComm.
Referenced by UpdateEntry().
void lbObjects::ResetComm | ( | ) |
Definition at line 118 of file lbObject.C.
References Converse::CkNumPes(), comm, lbObjectNode::localComm, lbObjectNode::maxComm, lbObjectNode::maxCommPE, numSpaces, objs, lbObjectNode::remoteComm, and lbObjectNode::totalComm.
Referenced by LBgroup::calculateLocalLoad().
void lbObjects::RequestReport | ( | ) |
Definition at line 130 of file lbObject.C.
References lbObjectNode::localObjPtr, numSpaces, and objs.
Referenced by LBgroup::calculateLocalLoad().
void lbObjects::dump | ( | ) |
Definition at line 138 of file lbObject.C.
References lbObjectNode::dump(), firstEmpty, numObjs, numSpaces, objs, and size.
Definition at line 46 of file lbObject.h.
Referenced by Delete(), dump(), Insert(), and lbObjects().
Definition at line 46 of file lbObject.h.
Referenced by LBgroup::balance(), LBgroup::computePeLoad(), dump(), LBgroup::findHeaviestUnder(), Insert(), lbObjects(), RequestReport(), and ResetComm().
Definition at line 46 of file lbObject.h.
Referenced by Delete(), dump(), Insert(), and lbObjects().
Definition at line 47 of file lbObject.h.
Referenced by AddComm(), LBgroup::balance(), LBgroup::computePeLoad(), Delete(), dump(), LBgroup::findHeaviestUnder(), Insert(), lbObjects(), RequestReport(), ResetComm(), and UpdateEntry().