PPL Logo

PrefixRouter Class Reference
[Converse level message Routers]

Prefix router to avoid contention on m,n-tree networks. More...

#include <prefixrouter.h>

Inheritance diagram for PrefixRouter:

Inheritance graph
[legend]
Collaboration diagram for PrefixRouter:

Collaboration graph
[legend]

Public Member Functions

 PrefixRouter (int _npes, int me, Strategy *parent)
virtual ~PrefixRouter ()
virtual void EachToManyMulticastQ (comID id, CkQ< MessageHolder * > &msgq)
 Same as EachToManyMulticast, only it receives all the messages into a list.
virtual void SetMap (int *pelist)
 Set the map between processors and virtual processor id's, Useful when only a subset of processors are involved in the communication operation.
virtual void sendMulticast (CkQ< MessageHolder * > &msgq)
virtual void sendPointToPoint (CkQ< MessageHolder * > &msgq)

Private Attributes

intgpes
intprefix_pelist
int npes
int MyPe

Detailed Description

Prefix router to avoid contention on m,n-tree networks.

Definition at line 16 of file prefixrouter.h.


Constructor & Destructor Documentation

PrefixRouter::PrefixRouter ( int  _npes,
int  me,
Strategy parent 
) [inline]

Definition at line 22 of file prefixrouter.h.

virtual PrefixRouter::~PrefixRouter (  )  [inline, virtual]

Definition at line 23 of file prefixrouter.h.


Member Function Documentation

virtual void PrefixRouter::SetMap ( int  )  [inline, virtual]

Set the map between processors and virtual processor id's, Useful when only a subset of processors are involved in the communication operation.

Reimplemented from Router.

Definition at line 28 of file prefixrouter.h.

References gpes.


Field Documentation

int* PrefixRouter::gpes [private]

Definition at line 17 of file prefixrouter.h.

Referenced by sendMulticast(), sendPointToPoint(), and SetMap().

Definition at line 18 of file prefixrouter.h.

Definition at line 19 of file prefixrouter.h.

Referenced by sendMulticast(), and sendPointToPoint().

Definition at line 19 of file prefixrouter.h.

Referenced by sendMulticast(), and sendPointToPoint().


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

Generated on Fri May 25 08:04:49 2012 for Charm++ by  doxygen 1.5.5