PPL Logo

LBCommTable Class Reference
[Charm++ Load Balancing Framework]

#include <LBComm.h>

Collaboration diagram for LBCommTable:

Collaboration graph
[legend]

Public Member Functions

 LBCommTable ()
 ~LBCommTable ()
LBCommDataHashInsert (const LBCommData &data)
LBCommDataHashInsertUnique (const LBCommData &data)
LBCommDataHashSearch (const LBCommData &data)
int CommCount ()
void GetCommData (LDCommData *data)
void GetCommInfo (int &bytes, int &msgs, int &withinpebytes, int &outsidepebytes, int &num_nghbor, int &hops, int &hopbytes)
int useMem ()

Private Types

enum  { initial_sz = 1 }
enum  { initial_sz = 1 }
enum  TableState { nil, InUse }

Private Member Functions

void NewTable (int _sz)
void Resize ()

Private Attributes

LBCommDataset
TableStatestate
int cur_sz
int in_use

Detailed Description

Definition at line 98 of file LBComm.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
initial_sz 

Definition at line 131 of file LBComm.h.

anonymous enum [private]

Enumerator:
initial_sz 

Definition at line 133 of file LBComm.h.

enum LBCommTable::TableState [private]

Enumerator:
nil 
InUse 

Definition at line 135 of file LBComm.h.


Constructor & Destructor Documentation

LBCommTable::LBCommTable (  )  [inline]

Definition at line 101 of file LBComm.h.

References initial_sz, and NewTable().

Here is the call graph for this function:

LBCommTable::~LBCommTable (  )  [inline]

Definition at line 105 of file LBComm.h.

References state.


Member Function Documentation

int LBCommTable::CommCount (  )  [inline]

Definition at line 113 of file LBComm.h.

References in_use.

Referenced by LBDB::CommDataCount().

Here is the caller graph for this function:

void LBCommTable::NewTable ( int  _sz  )  [inline, private]

Definition at line 119 of file LBComm.h.

References cur_sz, in_use, nil, and state.

Referenced by LBCommTable(), and Resize().

Here is the caller graph for this function:

int LBCommTable::useMem (  )  [inline]

Definition at line 141 of file LBComm.h.

References cur_sz.

Referenced by LBDB::useMem().

Here is the caller graph for this function:


Field Documentation

Definition at line 136 of file LBComm.h.

Definition at line 137 of file LBComm.h.

Referenced by GetCommData(), GetCommInfo(), HashInsert(), HashSearch(), NewTable(), Resize(), and ~LBCommTable().

Definition at line 138 of file LBComm.h.

Referenced by GetCommData(), GetCommInfo(), HashInsert(), HashSearch(), NewTable(), Resize(), and useMem().

Definition at line 139 of file LBComm.h.

Referenced by CommCount(), HashInsert(), and NewTable().


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

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