PPL Logo

OrbLB Class Reference
[Charm++ Load Balancing Framework]

#include <OrbLB.h>

Inheritance diagram for OrbLB:

Inheritance graph
[legend]
Collaboration diagram for OrbLB:

Collaboration graph
[legend]

Public Member Functions

 OrbLB (const CkLBOptions &)
 OrbLB (CkMigrateMessage *m)
void work (LDStats *stats)
CmiBool QueryBalanceNow (int step)

Data Fields

double overLoad

Private Types

enum  { XDIR = 0, YDIR, ZDIR }

Private Member Functions

void strategy ()
void rec_divide (int, Partition &)
void setVal (int x, int y, int z)
int sort_partition (int x, int p, int r)
void qsort (int x, int p, int r)
void quicksort (int x)
void mapPartitionsToNodes ()

Private Attributes

LDStatsstatsData
int P
ComputeLoadcomputeLoad
int nObjs
VecArrayvArray [3]
Partitionpartitions
Partition top_partition
int npartition
int currentp
int refno

Data Structures

struct  ComputeLoad
class  Partition
struct  VecArray

Detailed Description

Definition at line 15 of file OrbLB.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
XDIR 
YDIR 
ZDIR 

Definition at line 47 of file OrbLB.h.


Constructor & Destructor Documentation

OrbLB::OrbLB ( const CkLBOptions  ) 

OrbLB::OrbLB ( CkMigrateMessage m  )  [inline]

Definition at line 72 of file OrbLB.h.

References BaseLB::lbname.


Member Function Documentation

void OrbLB::strategy (  )  [private]


Field Documentation

Reimplemented from CentralLB.

Definition at line 49 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), rec_divide(), and work().

int OrbLB::P [private]

Definition at line 50 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), and work().

Definition at line 51 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), quicksort(), rec_divide(), setVal(), sort_partition(), and work().

int OrbLB::nObjs [private]

Definition at line 52 of file OrbLB.h.

Referenced by quicksort(), rec_divide(), setVal(), and work().

VecArray* OrbLB::vArray[3] [private]

Definition at line 53 of file OrbLB.h.

Referenced by quicksort(), rec_divide(), sort_partition(), and work().

Definition at line 54 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), rec_divide(), and work().

Definition at line 55 of file OrbLB.h.

Referenced by work().

Definition at line 56 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), and work().

int OrbLB::currentp [private]

Definition at line 57 of file OrbLB.h.

Referenced by rec_divide(), and work().

int OrbLB::refno [private]

Definition at line 57 of file OrbLB.h.

Referenced by mapPartitionsToNodes(), rec_divide(), and work().

Definition at line 68 of file OrbLB.h.


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

Generated on Fri May 25 08:04:42 2012 for Charm++ by  doxygen 1.5.5