PPL Logo

Refiner Class Reference
[Charm++ Load Balancing Framework]

#include <Refiner.h>

Inheritance diagram for Refiner:

Inheritance graph
[legend]
Collaboration diagram for Refiner:

Collaboration graph
[legend]

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

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
computeInfocomputes
processorInfoprocessors

Detailed Description

Definition at line 13 of file Refiner.h.


Constructor & Destructor Documentation

Refiner::Refiner ( double  _overload  )  [inline]

Definition at line 15 of file Refiner.h.

References computes, overLoad, and processors.

Refiner::~Refiner (  )  [inline]

Definition at line 18 of file Refiner.h.


Field Documentation

double Refiner::overLoad [protected]

double Refiner::averageLoad [protected]

int Refiner::P [protected]

int Refiner::numAvail [protected]


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

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