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 (const CkLBOptions &, bool userdata)
 OrbLB (CkMigrateMessage *m)
void work (LDStats *stats)
bool QueryBalanceNow (int step)

Data Fields

double overLoad

Private Types

enum  { XDIR = 0, YDIR, ZDIR }

Private Member Functions

void init ()
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

LDStats * statsData
int P
ComputeLoadcomputeLoad
int nObjs
VecArrayvArray [3]
Partitionpartitions
Partition top_partition
int npartition
int currentp
int refno
bool use_udata

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 ( CkMigrateMessage m  )  [inline]

Definition at line 75 of file OrbLB.h.

References init().

Here is the call graph for this function:


Member Function Documentation

void OrbLB::init (  )  [private]

Referenced by OrbLB().

Here is the caller graph for this function:

void OrbLB::strategy (  )  [private]


Field Documentation

LDStats* OrbLB::statsData [private]

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 58 of file OrbLB.h.

Referenced by OrbLB(), and work().

Definition at line 70 of file OrbLB.h.


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

Generated on Mon Sep 21 08:28:20 2020 for Charm++ by  doxygen 1.5.5