
#include <Refiner.h>


Public Member Functions | |
| Refiner (double _overload) | |
| ~Refiner () | |
| void | Refine (int count, BaseLB::LDStats *stats, int *cur_p, int *new_p) |
| double | computeAverageLoad () |
| double | computeMax () |
Static Public Member Functions | |
| static int * | AllocProcs (int count, BaseLB::LDStats *stats) |
| This code is derived from RefineLB.C, and RefineLB.C should be rewritten to use this, so there is no code duplication. | |
| static void | FreeProcs (int *bufs) |
Protected Member Functions | |
| void | create (int count, BaseLB::LDStats *stats, int *cur_p) |
| virtual int | refine () |
| int | multirefine (bool reset=1) |
| void | assign (computeInfo *c, int p) |
| void | assign (computeInfo *c, processorInfo *p) |
| void | deAssign (computeInfo *c, processorInfo *pRec) |
| virtual void | computeAverage () |
| bool | isHeavy (processorInfo *p) |
| bool | isLight (processorInfo *p) |
| void | removeComputes () |
Protected Attributes | |
| double | overLoad |
| double | averageLoad |
| int | P |
| int | numAvail |
| int | numComputes |
| computeInfo * | computes |
| processorInfo * | processors |
Definition at line 13 of file Refiner.h.
| Refiner::Refiner | ( | double | _overload | ) | [inline] |
double Refiner::overLoad [protected] |
Definition at line 39 of file Refiner.h.
Referenced by isHeavy(), multirefine(), RefinerComm::refine(), refine(), Refiner(), RefinerApprox::RefinerApprox(), and RefinerComm::RefinerComm().
double Refiner::averageLoad [protected] |
Definition at line 40 of file Refiner.h.
Referenced by RefinerComm::computeAverage(), computeAverage(), computeAverageLoad(), isHeavy(), isLight(), RefinerApprox::multirefine(), multirefine(), RefinerComm::Refine(), RefinerComm::refine(), RefinerApprox::Refine(), RefinerApprox::refine(), and refine().
int Refiner::P [protected] |
Definition at line 41 of file Refiner.h.
Referenced by RefinerComm::computeAverage(), computeAverage(), computeMax(), RefinerApprox::create(), create(), RefinerApprox::getLargestCompute(), RefinerApprox::getNumLargeComputes(), multirefine(), RefinerComm::printLoad(), RefinerApprox::printStats(), RefinerApprox::Refine(), RefinerApprox::refine(), Refine(), refine(), RefinerApprox::reinitAssignment(), and removeComputes().
int Refiner::numAvail [protected] |
Definition at line 42 of file Refiner.h.
Referenced by RefinerComm::computeAverage(), computeAverage(), RefinerApprox::create(), create(), RefinerApprox::Refine(), and removeComputes().
int Refiner::numComputes [protected] |
Definition at line 43 of file Refiner.h.
Referenced by RefinerComm::computeAverage(), computeAverage(), RefinerComm::create(), RefinerApprox::create(), multirefine(), RefinerApprox::numMoves(), RefinerComm::Refine(), RefinerApprox::Refine(), and Refine().
computeInfo* Refiner::computes [protected] |
Definition at line 44 of file Refiner.h.
Referenced by RefinerComm::commAffinity(), RefinerComm::computeAverage(), computeAverage(), RefinerComm::create(), RefinerApprox::create(), create(), multirefine(), RefinerApprox::numMoves(), RefinerComm::objCommCost(), RefinerComm::processorCommCost(), RefinerComm::Refine(), RefinerApprox::Refine(), Refine(), Refiner(), RefinerApprox::RefinerApprox(), and RefinerComm::RefinerComm().
processorInfo* Refiner::processors [protected] |
Definition at line 45 of file Refiner.h.
Referenced by RefinerComm::assign(), assign(), RefinerComm::computeAverage(), computeAverage(), computeMax(), RefinerApprox::create(), create(), deAssign(), RefinerApprox::getLargestCompute(), RefinerApprox::getNumLargeComputes(), multirefine(), RefinerComm::printLoad(), RefinerApprox::printStats(), RefinerComm::Refine(), RefinerComm::refine(), RefinerApprox::Refine(), RefinerApprox::refine(), Refine(), refine(), Refiner(), RefinerApprox::RefinerApprox(), RefinerComm::RefinerComm(), RefinerApprox::reinitAssignment(), and removeComputes().
1.5.5