PPL Logo

LBDBRegistry Class Reference
[Charm++ Load Balancing Framework]

Collaboration diagram for LBDBRegistry:

Collaboration graph
[legend]

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< LBDBEntrylbtables
CkVec< const char * > compile_lbs
CkVec< const char * > runtime_lbs

Friends

class LBDBInit
class LBDatabase

Data Structures

struct  LBDBEntry

Detailed Description

Definition at line 36 of file LBDatabase.C.


Constructor & Destructor Documentation

LBDBRegistry::LBDBRegistry (  )  [inline]

Definition at line 57 of file LBDatabase.C.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

LBCreateFn LBDBRegistry::search ( const char *  name  )  [inline]

Definition at line 76 of file LBDatabase.C.

References lbtables.

Referenced by createLoadBalancer().

Here is the caller graph for this function:

LBAllocFn LBDBRegistry::getLBAllocFn ( const char *  name  )  [inline]

Definition at line 83 of file LBDatabase.C.

References lbtables.

Referenced by getLBAllocFn().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LBDBInit [friend]

Definition at line 37 of file LBDatabase.C.

friend class LBDatabase [friend]

Definition at line 38 of file LBDatabase.C.


Field Documentation

Definition at line 53 of file LBDatabase.C.

Referenced by addEntry(), displayLBs(), getLBAllocFn(), and search().

CkVec<const char *> LBDBRegistry::compile_lbs [private]

CkVec<const char *> LBDBRegistry::runtime_lbs [private]

Definition at line 55 of file LBDatabase.C.

Referenced by addRuntimeBalancer(), LBDBInit::LBDBInit(), and LBDatabase::loadbalancer().


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

Generated on Mon Sep 21 08:26:30 2020 for Charm++ by  doxygen 1.5.5