PPL Logo

CommAwareRefineLB Class Reference
[Charm++ Load Balancing Framework]

#include <CommAwareRefineLB.h>

Inheritance diagram for CommAwareRefineLB:

Inheritance graph
[legend]
Collaboration diagram for CommAwareRefineLB:

Collaboration graph
[legend]

Public Member Functions

 CommAwareRefineLB (const CkLBOptions &)
 CommAwareRefineLB (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  ObjPeCommInfo
class  PeCommInfo
class  ProcCommGreater
class  ProcLoadGreater

Detailed Description

Definition at line 15 of file CommAwareRefineLB.h.


Member Enumeration Documentation

Enumerator:
GT 
LT 

Definition at line 38 of file CommAwareRefineLB.h.


Constructor & Destructor Documentation

CommAwareRefineLB::CommAwareRefineLB ( const CkLBOptions  ) 

CommAwareRefineLB::CommAwareRefineLB ( CkMigrateMessage m  )  [inline]

Definition at line 26 of file CommAwareRefineLB.h.


Member Function Documentation

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

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

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

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

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

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


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

Generated on Mon Sep 21 08:22:04 2020 for Charm++ by  doxygen 1.5.5