PPL Logo

LBCommData Class Reference
[Charm++ Load Balancing Framework]

#include <LBComm.h>

Collaboration diagram for LBCommData:

Collaboration graph
[legend]

Public Member Functions

 LBCommData (int _src_proc, LDOMid _destOM, CmiUInt8 _destObj, int _destObjProc)
 LBCommData (LDObjHandle _srcObj, LDOMid _destOM, CmiUInt8 _destObj, int _destObjProc)
 LBCommData (LDObjHandle _srcObj, LDOMid _destOM, CmiUInt8 *_destObjs, int _nobjs)
 LBCommData (const LBCommData &d)
 ~LBCommData ()
LBCommDataoperator= (const LBCommData &d)
void addMessage (int bytes, int nMsgs=1)
int key () const
bool equal (const LBCommData &_d2) const
int from_proc () const

Private Member Functions

 LBCommData ()
int compute_key ()
int hash (const int i, const int m) const

Private Attributes

int mykey
int src_proc
LDObjHandle srcObj
LDCommDesc destObj
int n_messages
int n_bytes

Friends

class LBCommTable

Detailed Description

Definition at line 16 of file LBComm.h.


Constructor & Destructor Documentation

LBCommData::LBCommData ( int  _src_proc,
LDOMid  _destOM,
CmiUInt8  _destObj,
int  _destObjProc 
) [inline]

Definition at line 21 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_objmsg(), mykey, n_bytes, n_messages, and src_proc.

Here is the call graph for this function:

LBCommData::LBCommData ( LDObjHandle  _srcObj,
LDOMid  _destOM,
CmiUInt8  _destObj,
int  _destObjProc 
) [inline]

Definition at line 29 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_objmsg(), mykey, n_bytes, n_messages, src_proc, and srcObj.

Here is the call graph for this function:

LBCommData::LBCommData ( LDObjHandle  _srcObj,
LDOMid  _destOM,
CmiUInt8 _destObjs,
int  _nobjs 
) [inline]

Definition at line 39 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_mcastmsg(), mykey, n_bytes, n_messages, src_proc, and srcObj.

Here is the call graph for this function:

LBCommData::LBCommData ( const LBCommData d  )  [inline]

Definition at line 48 of file LBComm.h.

References destObj, from_proc(), mykey, n_bytes, n_messages, src_proc, and srcObj.

Here is the call graph for this function:

LBCommData::~LBCommData (  )  [inline]

Definition at line 60 of file LBComm.h.

LBCommData::LBCommData (  )  [inline, private]

Definition at line 85 of file LBComm.h.


Member Function Documentation

LBCommData& LBCommData::operator= ( const LBCommData d  )  [inline]

Definition at line 62 of file LBComm.h.

References destObj, from_proc(), mykey, n_bytes, n_messages, src_proc, and srcObj.

Here is the call graph for this function:

void LBCommData::addMessage ( int  bytes,
int  nMsgs = 1 
) [inline]

Definition at line 75 of file LBComm.h.

References n_bytes, and n_messages.

Referenced by LBDB::MulticastSend(), and LBDB::Send().

Here is the caller graph for this function:

int LBCommData::key (  )  const [inline]

Definition at line 80 of file LBComm.h.

References mykey.

Referenced by hash().

Here is the caller graph for this function:

int LBCommData::from_proc (  )  const [inline]

Definition at line 83 of file LBComm.h.

References src_proc.

Referenced by compute_key(), equal(), LBCommData(), and operator=().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LBCommTable [friend]

Definition at line 18 of file LBComm.h.


Field Documentation

Definition at line 90 of file LBComm.h.

Referenced by key(), LBCommData(), and operator=().

Definition at line 91 of file LBComm.h.

Referenced by compute_key(), equal(), from_proc(), LBCommData(), and operator=().

Definition at line 92 of file LBComm.h.

Referenced by compute_key(), equal(), LBCommData(), and operator=().

Definition at line 93 of file LBComm.h.

Referenced by compute_key(), equal(), LBCommData(), and operator=().

Definition at line 94 of file LBComm.h.

Referenced by addMessage(), LBCommData(), and operator=().

Definition at line 95 of file LBComm.h.

Referenced by addMessage(), LBCommData(), and operator=().


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

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