PPL Logo

BaseLB Class Reference
[Charm++ Load Balancing Framework]

Base class for all LB strategies. More...

#include <BaseLB.h>

Inheritance diagram for BaseLB:

Inheritance graph
[legend]
Collaboration diagram for BaseLB:

Collaboration graph
[legend]

Public Member Functions

 BaseLB (const CkLBOptions &opt)
 BaseLB (CkMigrateMessage *m)
virtual ~BaseLB ()
void unregister ()
const char * lbName ()
int step ()
virtual void turnOff ()
virtual void turnOn ()
virtual int useMem ()
virtual void pup (PUP::er &p)
virtual void flushStates ()
CkGroupID getGroupID ()

Protected Attributes

int seqno
const char * lbname
LBDatabasetheLbdb
LDBarrierReceiver receiver
int notifier
int startLbFnHdl

Private Member Functions

void initLB (const CkLBOptions &)

Data Structures

struct  LDStats
 Passed to the virtual functions Strategy(. More...
struct  ProcStats

Detailed Description

Base class for all LB strategies.

BaseLB is the base class for all LB strategy class. it does some tracking about how many lb strategies are created. it also defines some common functions.

Definition at line 22 of file BaseLB.h.


Constructor & Destructor Documentation

BaseLB::BaseLB ( const CkLBOptions opt  )  [inline]

Definition at line 151 of file BaseLB.h.

References initLB().

Here is the call graph for this function:

BaseLB::BaseLB ( CkMigrateMessage m  )  [inline]

Definition at line 152 of file BaseLB.h.

References _lbdb, and theLbdb.


Member Function Documentation

const char* BaseLB::lbName (  )  [inline]

Definition at line 158 of file BaseLB.h.

References lbname.

int BaseLB::step (  )  [inline]

Definition at line 159 of file BaseLB.h.

References LBDatabase::step(), and theLbdb.

Here is the call graph for this function:

virtual void BaseLB::turnOff (  )  [inline, virtual]

Definition at line 160 of file BaseLB.h.

References CmiAbort().

Here is the call graph for this function:

virtual void BaseLB::turnOn (  )  [inline, virtual]

Definition at line 161 of file BaseLB.h.

References CmiAbort().

Here is the call graph for this function:

virtual int BaseLB::useMem (  )  [inline, virtual]

Definition at line 162 of file BaseLB.h.

CkGroupID BaseLB::getGroupID ( void   )  [inline]

Definition at line 166 of file BaseLB.h.


Field Documentation

int BaseLB::seqno [protected]

Definition at line 25 of file BaseLB.h.

Referenced by initLB(), and pup().

const char* BaseLB::lbname [protected]

Definition at line 26 of file BaseLB.h.

Referenced by initLB(), and lbName().

Definition at line 27 of file BaseLB.h.

Referenced by BaseLB(), flushStates(), initLB(), step(), and unregister().

Definition at line 28 of file BaseLB.h.

int BaseLB::notifier [protected]

Definition at line 29 of file BaseLB.h.

Definition at line 30 of file BaseLB.h.


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

Generated on Mon Sep 21 08:17:48 2020 for Charm++ by  doxygen 1.5.5