#include <RefinerTemp.h>
Public Member Functions | |
RefinerTemp (double _overload) | |
RefinerTemp (double _overload, int *p, int *pn, int i) | |
~RefinerTemp () | |
void | Refine (int count, BaseLB::LDStats *stats, int *cur_p, int *new_p) |
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) |
Data Fields | |
int | sumFreqs |
int * | procFreq |
int * | procFreqNew |
double | totalInst |
Protected Member Functions | |
void | create (int count, BaseLB::LDStats *stats, int *cur_p) |
virtual int | refine () |
int | multirefine () |
void | assign (computeInfo *c, int p) |
void | assign (computeInfo *c, processorInfo *p) |
void | deAssign (computeInfo *c, processorInfo *pRec) |
virtual void | computeAverage () |
double | computeMax () |
double | computeMax (int *) |
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 RefinerTemp.h.
RefinerTemp::RefinerTemp | ( | double | _overload | ) | [inline] |
Definition at line 15 of file RefinerTemp.h.
References P, processors, procFreq, procFreqNew, and sumFreqs.
RefinerTemp::~RefinerTemp | ( | ) | [inline] |
Definition at line 28 of file RefinerTemp.h.
Definition at line 29 of file RefinerTemp.h.
Referenced by isHeavy(), isLight(), multirefine(), refine(), and RefinerTemp().
Definition at line 29 of file RefinerTemp.h.
Referenced by assign(), computeAverage(), deAssign(), refine(), and RefinerTemp().
Definition at line 29 of file RefinerTemp.h.
Referenced by computeMax(), isHeavy(), isLight(), multirefine(), refine(), and RefinerTemp().
double RefinerTemp::totalInst |
Definition at line 30 of file RefinerTemp.h.
Referenced by computeAverage(), isHeavy(), isLight(), multirefine(), and refine().
double RefinerTemp::overLoad [protected] |
Definition at line 49 of file RefinerTemp.h.
Referenced by isHeavy(), multirefine(), refine(), and RefinerTemp().
double RefinerTemp::averageLoad [protected] |
int RefinerTemp::P [protected] |
Definition at line 51 of file RefinerTemp.h.
Referenced by computeAverage(), computeMax(), create(), Refine(), refine(), RefinerTemp(), and removeComputes().
int RefinerTemp::numAvail [protected] |
Definition at line 52 of file RefinerTemp.h.
Referenced by computeAverage(), create(), and removeComputes().
int RefinerTemp::numComputes [protected] |
computeInfo* RefinerTemp::computes [protected] |
Definition at line 54 of file RefinerTemp.h.
Referenced by computeAverage(), create(), Refine(), and RefinerTemp().
processorInfo* RefinerTemp::processors [protected] |
Definition at line 55 of file RefinerTemp.h.
Referenced by assign(), computeAverage(), computeMax(), create(), Refine(), refine(), RefinerTemp(), and removeComputes().