PPL Logo

TempAwareGreedyLB Class Reference
[Charm++ Load Balancing Framework]

#include <TempAwareGreedyLB.h>

Inheritance diagram for TempAwareGreedyLB:

Inheritance graph
[legend]
Collaboration diagram for TempAwareGreedyLB:

Collaboration graph
[legend]

Public Member Functions

 TempAwareGreedyLB (const CkLBOptions &)
 TempAwareGreedyLB (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 TempAwareGreedyLB.h.


Member Enumeration Documentation

Enumerator:
GT 
LT 

Definition at line 31 of file TempAwareGreedyLB.h.


Constructor & Destructor Documentation

TempAwareGreedyLB::TempAwareGreedyLB ( const CkLBOptions  ) 

TempAwareGreedyLB::TempAwareGreedyLB ( CkMigrateMessage m  )  [inline]

Definition at line 25 of file TempAwareGreedyLB.h.


Member Function Documentation

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

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

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

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

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

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


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

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