#include <GreedyRefineLB.h>
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 |
Definition at line 34 of file GreedyRefineLB.h.
GreedyRefineLB::GreedyRefineLB | ( | const CkLBOptions & | ) |
void GreedyRefineLB::setMigrationTolerance | ( | float | tol | ) | [inline] |
Definition at line 44 of file GreedyRefineLB.h.
double GreedyRefineLB::strategyStartTime [private] |
Definition at line 83 of file GreedyRefineLB.h.
Referenced by greedyLB(), sendSolution(), and work().
double GreedyRefineLB::totalObjLoad [private] |
int GreedyRefineLB::availablePes [private] |
float GreedyRefineLB::migrationTolerance [private] |
Definition at line 86 of file GreedyRefineLB.h.
Referenced by GreedyRefineLB(), receiveSolutions(), setMigrationTolerance(), and work().
int GreedyRefineLB::totalObjs [private] |