PPL Logo

receiver Class Reference
[Charm++ Load Balancing Framework]

#include <receiver.h>

Inheritance diagram for receiver:

Inheritance graph
[legend]
Collaboration diagram for receiver:

Collaboration graph
[legend]

Public Member Functions

 receiver ()
 receiver (CkMigrateMessage *)
 ~receiver ()
void pup (PUP::er &p)
void isend (void *buf, int count, int datatype, int dest, int tag, int refno)
void irecv (void *buf, int count, int datatype, int source, int tag, int refno)
int iAlltoAll (void *sendbuf, int sendcount, int sendtype, void *recvbuf, int recvcount, int recvtype, int refno)
int iAlltoAllv (void *sendbuf, int *sendcount, int *sdispls, int sendtype, void *recvbuf, int *recvcount, int *rdispls, int recvtype, int refno)
void iwaitAll (int refno)
void iwaitAll (recvCallBack f, void *data, int refno)
void generic (receiverMsg *)
void syncSend (receiverMsg *)
void ready2go ()

Protected Member Functions

virtual void resumeFromWait ()

Private Types

typedef struct receiver::_tblEntry tblEntry

Private Member Functions

void sendTo (receiverMsg *, int tag, char *pointer, int size, int from, int refno)
void recvAlready ()
void pupCmmTable (CmmTable &t, PUP::er &p)

Private Attributes

void * data
LDBarrierFn fn
int on
CmmTable msgTbl
CmmTable reqTbl
int counter
int startwaiting
recvCallBack callback
void * cb_data

Friends

class LocalBarrier

Data Structures

struct  _tblEntry

Detailed Description

Definition at line 539 of file LBDBManager.C.


Member Typedef Documentation

typedef struct receiver::_tblEntry receiver::tblEntry [private]


Constructor & Destructor Documentation

receiver::receiver (  ) 

Definition at line 10 of file receiver.C.

References callback, CmmNew(), counter, msgTbl, reqTbl, and startwaiting.

Here is the call graph for this function:

receiver::receiver ( CkMigrateMessage m  ) 

Definition at line 20 of file receiver.C.

References callback, CmmNew(), msgTbl, and reqTbl.

Here is the call graph for this function:

receiver::~receiver (  ) 

Definition at line 37 of file receiver.C.

References CmmFree(), msgTbl, and reqTbl.

Here is the call graph for this function:


Member Function Documentation

void receiver::pup ( PUP::er p  ) 

Definition at line 28 of file receiver.C.

References counter, msgTbl, p, pupCmmTable(), reqTbl, and startwaiting.

Here is the call graph for this function:

void receiver::isend ( void *  buf,
int  count,
int  datatype,
int  dest,
int  tag,
int  refno 
)

Definition at line 99 of file receiver.C.

References receiverMsg::buf, PUP::d, receiverMsg::refno, receiverMsg::sendFrom, receiverMsg::size, size, receiverMsg::tag, and typesize().

Referenced by iAlltoAll(), and iAlltoAllv().

Here is the call graph for this function:

Here is the caller graph for this function:

void receiver::irecv ( void *  buf,
int  count,
int  datatype,
int  source,
int  tag,
int  refno 
)

Definition at line 112 of file receiver.C.

References receiver::_tblEntry::buf, receiverMsg::buf, CmmPut(), receiver::_tblEntry::msg, msgTbl, reqTbl, receiver::_tblEntry::size, size, tags, and typesize().

Referenced by iAlltoAll(), and iAlltoAllv().

Here is the call graph for this function:

Here is the caller graph for this function:

int receiver::iAlltoAll ( void *  sendbuf,
int  sendcount,
int  sendtype,
void *  recvbuf,
int  recvcount,
int  recvtype,
int  refno 
)

Definition at line 137 of file receiver.C.

References irecv(), isend(), tag, and typesize().

Here is the call graph for this function:

int receiver::iAlltoAllv ( void *  sendbuf,
int sendcount,
int sdispls,
int  sendtype,
void *  recvbuf,
int recvcount,
int rdispls,
int  recvtype,
int  refno 
)

Definition at line 150 of file receiver.C.

References irecv(), isend(), tag, and typesize().

Here is the call graph for this function:

void receiver::iwaitAll ( int  refno  ) 

Definition at line 178 of file receiver.C.

References callback, cb_data, counter, recvAlready(), and startwaiting.

Here is the call graph for this function:

void receiver::iwaitAll ( recvCallBack  f,
void *  data,
int  refno 
)

Definition at line 162 of file receiver.C.

References callback, cb_data, CkExit(), counter, recvAlready(), and startwaiting.

Here is the call graph for this function:

void receiver::generic ( receiverMsg msg  ) 

Definition at line 73 of file receiver.C.

References receiverMsg::buf, receiverMsg::refno, receiverMsg::sendFrom, sendTo(), receiverMsg::size, and receiverMsg::tag.

Here is the call graph for this function:

void receiver::syncSend ( receiverMsg msg  ) 

Definition at line 78 of file receiver.C.

References receiverMsg::buf, receiverMsg::refno, receiverMsg::sendFrom, sendTo(), receiverMsg::size, and receiverMsg::tag.

Here is the call graph for this function:

void receiver::ready2go (  ) 

Definition at line 206 of file receiver.C.

References callback, cb_data, and resumeFromWait().

Here is the call graph for this function:

void receiver::sendTo ( receiverMsg msg,
int  tag,
char *  pointer,
int  size,
int  from,
int  refno 
) [private]

Definition at line 46 of file receiver.C.

References receiver::_tblEntry::buf, CmmPut(), receiver::_tblEntry::msg, msgTbl, recvAlready(), reqTbl, receiver::_tblEntry::size, and tags.

Referenced by generic(), and syncSend().

Here is the call graph for this function:

Here is the caller graph for this function:

void receiver::recvAlready (  )  [private]

Definition at line 188 of file receiver.C.

References counter, msgTbl, reqTbl, startwaiting, and tags.

Referenced by iwaitAll(), and sendTo().

Here is the caller graph for this function:

void receiver::pupCmmTable ( CmmTable t,
PUP::er p 
) [private]

Definition at line 231 of file receiver.C.

References receiver::_tblEntry::buf, CmmEntries(), PUP::er::isPacking(), msg, p, PUP::s, receiver::_tblEntry::size, and tags.

Referenced by pup().

Here is the call graph for this function:

Here is the caller graph for this function:

void receiver::resumeFromWait (  )  [protected, virtual]

Definition at line 226 of file receiver.C.

Referenced by ready2go().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LocalBarrier [friend]

Definition at line 540 of file LBDBManager.C.


Field Documentation

void* receiver::data [private]

Definition at line 541 of file LBDBManager.C.

Referenced by LocalBarrier::AddReceiver(), and LocalBarrier::CallReceivers().

Definition at line 542 of file LBDBManager.C.

Referenced by LocalBarrier::AddReceiver(), and LocalBarrier::CallReceivers().

int receiver::on [private]

Definition at line 543 of file LBDBManager.C.

Referenced by LocalBarrier::AddReceiver(), and LocalBarrier::CallReceivers().

Definition at line 59 of file receiver.h.

Referenced by irecv(), pup(), receiver(), recvAlready(), sendTo(), and ~receiver().

Definition at line 60 of file receiver.h.

Referenced by irecv(), pup(), receiver(), recvAlready(), sendTo(), and ~receiver().

Definition at line 61 of file receiver.h.

Referenced by iwaitAll(), pup(), receiver(), and recvAlready().

Definition at line 62 of file receiver.h.

Referenced by iwaitAll(), pup(), receiver(), and recvAlready().

Definition at line 64 of file receiver.h.

Referenced by iwaitAll(), ready2go(), and receiver().

void* receiver::cb_data [private]

Definition at line 65 of file receiver.h.

Referenced by iwaitAll(), and ready2go().


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

Generated on Mon Sep 21 08:29:24 2020 for Charm++ by  doxygen 1.5.5