Public Member Functions | |
LBDBRegistry () | |
void | displayLBs () |
void | addEntry (const char *name, LBCreateFn fn, LBAllocFn afn, const char *help, int shown) |
void | addCompiletimeBalancer (const char *name) |
void | addRuntimeBalancer (const char *name) |
LBCreateFn | search (const char *name) |
LBAllocFn | getLBAllocFn (const char *name) |
Private Attributes | |
CkVec< LBDBEntry > | lbtables |
CkVec< const char * > | compile_lbs |
CkVec< const char * > | runtime_lbs |
Friends | |
class | LBDBInit |
class | LBDatabase |
Data Structures | |
struct | LBDBEntry |
Definition at line 36 of file LBDatabase.C.
LBDBRegistry::LBDBRegistry | ( | ) | [inline] |
Definition at line 57 of file LBDatabase.C.
void LBDBRegistry::displayLBs | ( | ) | [inline] |
Definition at line 58 of file LBDatabase.C.
References CmiPrintf(), LBDBRegistry::LBDBEntry::help, lbtables, LBDBRegistry::LBDBEntry::name, and LBDBRegistry::LBDBEntry::shown.
Referenced by createLoadBalancer().
void LBDBRegistry::addEntry | ( | const char * | name, | |
LBCreateFn | fn, | |||
LBAllocFn | afn, | |||
const char * | help, | |||
int | shown | |||
) | [inline] |
Definition at line 67 of file LBDatabase.C.
References lbtables.
Referenced by LBRegisterBalancer().
void LBDBRegistry::addCompiletimeBalancer | ( | const char * | name | ) | [inline] |
Definition at line 70 of file LBDatabase.C.
References compile_lbs, and CkVec< T >::push_back().
Referenced by LBDefaultCreate().
void LBDBRegistry::addRuntimeBalancer | ( | const char * | name | ) | [inline] |
Definition at line 73 of file LBDatabase.C.
References CkVec< T >::push_back(), and runtime_lbs.
Referenced by _loadbalancerInit().
LBCreateFn LBDBRegistry::search | ( | const char * | name | ) | [inline] |
Definition at line 76 of file LBDatabase.C.
References lbtables.
Referenced by createLoadBalancer().
LBAllocFn LBDBRegistry::getLBAllocFn | ( | const char * | name | ) | [inline] |
Definition at line 83 of file LBDatabase.C.
References lbtables.
Referenced by getLBAllocFn().
friend class LBDBInit [friend] |
Definition at line 37 of file LBDatabase.C.
friend class LBDatabase [friend] |
Definition at line 38 of file LBDatabase.C.
CkVec<LBDBEntry> LBDBRegistry::lbtables [private] |
Definition at line 53 of file LBDatabase.C.
Referenced by addEntry(), displayLBs(), getLBAllocFn(), and search().
CkVec<const char *> LBDBRegistry::compile_lbs [private] |
Definition at line 54 of file LBDatabase.C.
Referenced by addCompiletimeBalancer(), LBDBInit::LBDBInit(), and LBDatabase::loadbalancer().
CkVec<const char *> LBDBRegistry::runtime_lbs [private] |
Definition at line 55 of file LBDatabase.C.
Referenced by addRuntimeBalancer(), LBDBInit::LBDBInit(), and LBDatabase::loadbalancer().