PPL Logo

GreedyAgentLB Class Reference
[Charm++ Load Balancing Framework]

#include <GreedyAgentLB.h>

Inheritance diagram for GreedyAgentLB:

Inheritance graph
[legend]
Collaboration diagram for GreedyAgentLB:

Collaboration graph
[legend]

Public Member Functions

 GreedyAgentLB (const CkLBOptions &)
 GreedyAgentLB (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 (CentralLB::LDStats *, int, int *)
HeapDataBuildObjectArray (CentralLB::LDStats *, int, int *)
bool QueryBalanceNow (int step)

Private Attributes

TopologyAgenttopologyAgent

Data Structures

struct  HeapData

Detailed Description

Definition at line 15 of file GreedyAgentLB.h.


Member Enumeration Documentation

enum GreedyAgentLB::HeapCmp [private]

Enumerator:
GT 
LT 

Definition at line 29 of file GreedyAgentLB.h.


Constructor & Destructor Documentation

GreedyAgentLB::GreedyAgentLB ( const CkLBOptions  ) 

GreedyAgentLB::GreedyAgentLB ( CkMigrateMessage m  )  [inline]

Definition at line 25 of file GreedyAgentLB.h.


Field Documentation

Definition at line 28 of file GreedyAgentLB.h.

Referenced by work().


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

Generated on Mon Sep 21 08:25:12 2020 for Charm++ by  doxygen 1.5.5