#include <BaseLB.h>
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 |
LBDatabase * | theLbdb |
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 |
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.
BaseLB::BaseLB | ( | const CkLBOptions & | opt | ) | [inline] |
BaseLB::BaseLB | ( | CkMigrateMessage * | m | ) | [inline] |
int BaseLB::step | ( | ) | [inline] |
Definition at line 159 of file BaseLB.h.
References LBDatabase::step(), and theLbdb.
virtual void BaseLB::turnOff | ( | ) | [inline, virtual] |
Definition at line 160 of file BaseLB.h.
References CmiAbort().
virtual void BaseLB::turnOn | ( | ) | [inline, virtual] |
Definition at line 161 of file BaseLB.h.
References CmiAbort().
int BaseLB::seqno [protected] |
const char* BaseLB::lbname [protected] |
LBDatabase* BaseLB::theLbdb [protected] |
Definition at line 27 of file BaseLB.h.
Referenced by BaseLB(), flushStates(), initLB(), step(), and unregister().
LDBarrierReceiver BaseLB::receiver [protected] |
int BaseLB::notifier [protected] |
int BaseLB::startLbFnHdl [protected] |