PPL Logo

RefinerTemp Class Reference
[Charm++ Load Balancing Framework]

#include <RefinerTemp.h>

Collaboration diagram for RefinerTemp:

Collaboration graph
[legend]

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 intAllocProcs (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
intprocFreq
intprocFreqNew
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
computeInfocomputes
processorInfoprocessors

Detailed Description

Definition at line 13 of file RefinerTemp.h.


Constructor & Destructor Documentation

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.


Field Documentation

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().

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]

Definition at line 50 of file RefinerTemp.h.

Referenced by computeAverage(), and multirefine().

int RefinerTemp::P [protected]

Definition at line 52 of file RefinerTemp.h.

Referenced by computeAverage(), create(), and removeComputes().

Definition at line 53 of file RefinerTemp.h.

Referenced by computeAverage(), and Refine().

Definition at line 54 of file RefinerTemp.h.

Referenced by computeAverage(), create(), Refine(), and RefinerTemp().


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

Generated on Mon Sep 21 08:29:33 2020 for Charm++ by  doxygen 1.5.5