PPL Logo

ComlibComRec Class Reference
[Charm++ Communication Optimization Framework]

Old class that is no longer used. More...

#include <ComlibStats.h>

Collaboration diagram for ComlibComRec:

Collaboration graph
[legend]

Public Member Functions

 ComlibComRec ()
 ComlibComRec (int _npes)
 ~ComlibComRec ()
void setNpes (int _npes)
CmiBool isRecorded ()
int getTotalBytes ()
int getTotalMessages ()
int getDegree ()
void recordSend (int size, int dest)
void recordSendM (int size, int *dest_m, int ndest)
void recordRecv (int size, int src)
void recordRecvM (int size, int *src_m, int nsrc)
void reset ()
void pup (PUP::er &p)

Private Attributes

int nmessages_sent
int totalbytes_sent
int nmessages_received
int totalbytes_received
unsigned char * procMap
int npes
int degree
CmiBool recorded

Friends

class ComlibLocalStats

Detailed Description

Old class that is no longer used.

Definition at line 20 of file ComlibStats.h.


Constructor & Destructor Documentation

ComlibComRec::ComlibComRec (  )  [inline]

ComlibComRec::ComlibComRec ( int  _npes  )  [inline]

ComlibComRec::~ComlibComRec (  )  [inline]

Definition at line 57 of file ComlibStats.h.

References CmiFree(), procMap, and recorded.


Member Function Documentation

void ComlibComRec::setNpes ( int  _npes  )  [inline]

Definition at line 64 of file ComlibStats.h.

References npes.

CmiBool ComlibComRec::isRecorded (  )  [inline]

Definition at line 65 of file ComlibStats.h.

References recorded.

int ComlibComRec::getTotalBytes (  )  [inline]

Definition at line 67 of file ComlibStats.h.

References totalbytes_received, and totalbytes_sent.

int ComlibComRec::getTotalMessages (  )  [inline]

Definition at line 68 of file ComlibStats.h.

References nmessages_received, and nmessages_sent.

int ComlibComRec::getDegree (  )  [inline]

Definition at line 69 of file ComlibStats.h.

References degree.

void ComlibComRec::recordSend ( int  size,
int  dest 
) [inline]

Definition at line 71 of file ComlibStats.h.

References CmiAlloc(), CmiTrue, degree, nmessages_sent, npes, procMap, recorded, and totalbytes_sent.

void ComlibComRec::recordSendM ( int  size,
int dest_m,
int  ndest 
) [inline]

Definition at line 90 of file ComlibStats.h.

References CmiAlloc(), CmiTrue, degree, nmessages_sent, npes, procMap, recorded, and totalbytes_sent.

void ComlibComRec::recordRecv ( int  size,
int  src 
) [inline]

void ComlibComRec::recordRecvM ( int  size,
int src_m,
int  nsrc 
) [inline]

void ComlibComRec::reset ( void   )  [inline]

void ComlibComRec::pup ( PUP::er p  )  [inline]


Friends And Related Function Documentation

friend class ComlibLocalStats [friend]

Definition at line 33 of file ComlibStats.h.


Field Documentation

Definition at line 21 of file ComlibStats.h.

Referenced by ComlibComRec(), getTotalMessages(), pup(), recordSend(), recordSendM(), and reset().

Definition at line 22 of file ComlibStats.h.

Referenced by ComlibComRec(), getTotalBytes(), pup(), recordSend(), recordSendM(), and reset().

Definition at line 23 of file ComlibStats.h.

Referenced by ComlibComRec(), getTotalMessages(), pup(), recordRecv(), recordRecvM(), and reset().

Definition at line 24 of file ComlibStats.h.

Referenced by ComlibComRec(), getTotalBytes(), pup(), recordRecv(), recordRecvM(), and reset().

unsigned char* ComlibComRec::procMap [private]

Definition at line 27 of file ComlibStats.h.

Referenced by ComlibComRec(), pup(), recordRecv(), recordRecvM(), recordSend(), recordSendM(), and setNpes().


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

Generated on Fri May 25 08:02:44 2012 for Charm++ by  doxygen 1.5.5