PPL Logo

GreedyLB Class Reference
[Charm++ Load Balancing Framework]

#include <GreedyLB.h>

Inheritance diagram for GreedyLB:

Inheritance graph
[legend]
Collaboration diagram for GreedyLB:

Collaboration graph
[legend]

Public Member Functions

 GreedyLB (const CkLBOptions &)
 GreedyLB (CkMigrateMessage *m)
void work (LDStats *stats)

Private Types

enum  HeapCmp { GT = '>', LT = '<' }

Private Member Functions

void Heapify (HeapData *, int, int, HeapCmp)
void HeapSort (HeapData *, int, HeapCmp)
void BuildHeap (HeapData *, int, HeapCmp)
bool Compare (double, double, HeapCmp)
HeapDataBuildCpuArray (BaseLB::LDStats *, int, int *)
HeapDataBuildObjectArray (BaseLB::LDStats *, int, int *)
bool QueryBalanceNow (int step)

Data Structures

struct  HeapData
class  ObjLoadGreater
class  ProcLoadGreater

Detailed Description

Definition at line 15 of file GreedyLB.h.


Member Enumeration Documentation

enum GreedyLB::HeapCmp [private]

Enumerator:
GT 
LT 

Definition at line 31 of file GreedyLB.h.


Constructor & Destructor Documentation

GreedyLB::GreedyLB ( const CkLBOptions  ) 

GreedyLB::GreedyLB ( CkMigrateMessage m  )  [inline]

Definition at line 25 of file GreedyLB.h.


Member Function Documentation

void GreedyLB::Heapify ( HeapData ,
int  ,
int  ,
HeapCmp   
) [private]

void GreedyLB::HeapSort ( HeapData ,
int  ,
HeapCmp   
) [private]

void GreedyLB::BuildHeap ( HeapData ,
int  ,
HeapCmp   
) [private]

bool GreedyLB::Compare ( double  ,
double  ,
HeapCmp   
) [private]

HeapData* GreedyLB::BuildCpuArray ( BaseLB::LDStats ,
int  ,
int  
) [private]

HeapData* GreedyLB::BuildObjectArray ( BaseLB::LDStats ,
int  ,
int  
) [private]


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