PPL Logo

GreedyRefineLB Class Reference
[Charm++ Load Balancing Framework]

#include <GreedyRefineLB.h>

Inheritance diagram for GreedyRefineLB:

Inheritance graph
[legend]
Collaboration diagram for GreedyRefineLB:

Collaboration graph
[legend]

Public Member Functions

 GreedyRefineLB (const CkLBOptions &)
 GreedyRefineLB (CkMigrateMessage *m)
void work (LDStats *stats)
void receiveSolutions (CkReductionMsg *msg)
void receiveTotalTime (double time)
void setMigrationTolerance (float tol)

Private Member Functions

bool QueryBalanceNow (int step)
double fillData (LDStats *stats, std::vector< GObj > &objs, std::vector< GObj * > &pobjs, std::vector< GProc > &procs, PHeap &procHeap)
double greedyLB (const std::vector< GObj * > &pobjs, PHeap &procHeap, const BaseLB::LDStats *stats) const
void sendSolution (double maxLoad, int migrations)
void dumpObjLoads (std::vector< GObj > &objs)
void dumpProcLoads (std::vector< GProc > &procs)

Private Attributes

double strategyStartTime
double totalObjLoad
int availablePes
float migrationTolerance
int totalObjs

Data Structures

class  GObj
class  GProc
class  ObjLoadGreater
class  PHeap
class  Solution

Detailed Description

Definition at line 34 of file GreedyRefineLB.h.


Constructor & Destructor Documentation

GreedyRefineLB::GreedyRefineLB ( const CkLBOptions  ) 


Member Function Documentation

void GreedyRefineLB::setMigrationTolerance ( float  tol  )  [inline]

Definition at line 41 of file GreedyRefineLB.h.

References migrationTolerance.

bool GreedyRefineLB::QueryBalanceNow ( int  step  )  [inline, private]

Definition at line 44 of file GreedyRefineLB.h.


Field Documentation

Definition at line 83 of file GreedyRefineLB.h.

Referenced by greedyLB(), sendSolution(), and work().

double GreedyRefineLB::totalObjLoad [private]

Definition at line 84 of file GreedyRefineLB.h.

Referenced by fillData(), and work().

Definition at line 85 of file GreedyRefineLB.h.

Referenced by fillData().

Definition at line 86 of file GreedyRefineLB.h.

Referenced by GreedyRefineLB(), receiveSolutions(), setMigrationTolerance(), and work().

Definition at line 87 of file GreedyRefineLB.h.

Referenced by receiveSolutions(), and work().


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

Generated on Mon Sep 21 08:25:13 2020 for Charm++ by  doxygen 1.5.5