PPL Logo

ChunkMulticastStrategy Class Reference
[Strategies for use in Charm++]

#include <ChunkMulticastStrategy.h>

Inheritance diagram for ChunkMulticastStrategy:

Inheritance graph
[legend]
Collaboration diagram for ChunkMulticastStrategy:

Collaboration graph
[legend]

Public Member Functions

virtual void determineNextHopPEs (const int totalDestPEs, const ComlibMulticastIndexCount *destPEs, const int myIndex, int *&pelist, int &npes, int chunkNumber, int numChunks)
 Determine the set of PEs to which the message should be forwarded from this PE.
 ChunkMulticastStrategy (CkMigrateMessage *m)
 ChunkMulticastStrategy ()
 ~ChunkMulticastStrategy ()
void insertMessage (MessageHolder *msg)
 Called for each message.
void insertMessage (CharmMessageHolder *msg)
 Called when the user invokes the entry method on the delegated proxy.
void handleMessage (void *msg)
 Called by the converse handler function.
void pup (PUP::er &p)
 PUPable_decl (ChunkMulticastStrategy)

Data Fields

std::list< recvBuffer * > recvList
int sentCount

Private Member Functions

void remoteMulticast (ComlibMulticastMsg *multMsg, bool rootPE, int chunkNumber, int numChunks)
 Forward multicast message to our successor processors in the spanning tree.
void localMulticast (CharmMessageHolder *cmsg)
 Deliver the message to the local elements.

Private Attributes

ComlibSectionInfo sinfo

Detailed Description

Definition at line 67 of file ChunkMulticastStrategy.h.


Constructor & Destructor Documentation

ChunkMulticastStrategy::ChunkMulticastStrategy ( CkMigrateMessage m  )  [inline]

Definition at line 96 of file ChunkMulticastStrategy.h.


Member Function Documentation

void ChunkMulticastStrategy::insertMessage ( MessageHolder msg  )  [inline, virtual]

Called for each message.

Implements Strategy.

Definition at line 101 of file ChunkMulticastStrategy.h.

ChunkMulticastStrategy::PUPable_decl ( ChunkMulticastStrategy   ) 


Field Documentation

Definition at line 70 of file ChunkMulticastStrategy.h.

Referenced by handleMessage(), insertMessage(), and localMulticast().

Definition at line 79 of file ChunkMulticastStrategy.h.

Referenced by handleMessage().

Definition at line 80 of file ChunkMulticastStrategy.h.

Referenced by ChunkMulticastStrategy(), and insertMessage().


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

Generated on Thu May 24 07:56:53 2012 for Charm++ by  doxygen 1.5.5