PPL Logo

RefineSwapLB Class Reference
[Charm++ Load Balancing Framework]

#include <RefineSwapLB.h>

Inheritance diagram for RefineSwapLB:

Inheritance graph
[legend]
Collaboration diagram for RefineSwapLB:

Collaboration graph
[legend]

Public Member Functions

 RefineSwapLB (const CkLBOptions &)
 RefineSwapLB (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
class  ProcLoadGreaterIndex

Detailed Description

Definition at line 15 of file RefineSwapLB.h.


Member Enumeration Documentation

enum RefineSwapLB::HeapCmp [private]

Enumerator:
GT 
LT 

Definition at line 33 of file RefineSwapLB.h.


Constructor & Destructor Documentation

RefineSwapLB::RefineSwapLB ( const CkLBOptions  ) 

RefineSwapLB::RefineSwapLB ( CkMigrateMessage m  )  [inline]

Definition at line 25 of file RefineSwapLB.h.


Member Function Documentation

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

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

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

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

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

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


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

Generated on Mon Sep 21 08:29:33 2020 for Charm++ by  doxygen 1.5.5