PPL Logo

SRentry Class Reference

An entry for storing the number of sends and recvs at a timestamp. More...

#include <srtable.h>

Collaboration diagram for SRentry:

Collaboration graph
[legend]

Public Member Functions

 SRentry ()
 Basic constructor.
 SRentry (POSE_TimeType ts, SRentry *p)
 Initializing constructor 1.
 SRentry (POSE_TimeType ts, int sr, SRentry *p)
 Initializing constructor 2.
 SRentry (POSE_TimeType ts, int sr)
 Initializing constructor.
void pup (PUP::er &p)
 PUP routine.
SRentryoperator= (const SRentry &e)
 Assignment operator.
void dump ()
 Dump data fields.
char * dumpString ()
 Dump data fields to a string.
void sanitize ()
 Check validity of data fields.

Data Fields

POSE_TimeType timestamp
 Timestamp of the message.
int sends
 The number of messages sent with theTimestamp.
int recvs
 The number of messages sent with theTimestamp.
SRentrynext
 Next SRentry in list.

Detailed Description

An entry for storing the number of sends and recvs at a timestamp.

This class is used in SendRecvTable to store residual send/recv data

Definition at line 14 of file srtable.h.


Constructor & Destructor Documentation

SRentry::SRentry (  )  [inline]

Basic constructor.

Initializes all data members

Definition at line 26 of file srtable.h.

Referenced by pup().

Here is the caller graph for this function:

SRentry::SRentry ( POSE_TimeType  ts,
SRentry p 
) [inline]

Initializing constructor 1.

Initializes timestamp & next w/parameters, sends & recvs to 0

Definition at line 31 of file srtable.h.

SRentry::SRentry ( POSE_TimeType  ts,
int  sr,
SRentry p 
) [inline]

Initializing constructor 2.

Initializes timestamp, send/recv count and next w/parameters

Definition at line 37 of file srtable.h.

References recvs, and sends.

SRentry::SRentry ( POSE_TimeType  ts,
int  sr 
) [inline]

Initializing constructor.

Initializes timestamp and send/recv count w/parameters

Definition at line 44 of file srtable.h.

References recvs, and sends.


Member Function Documentation

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

PUP routine.

This traverses the whole list of SRentrys using the next pointer, PUPing each one

Definition at line 52 of file srtable.h.

References PUP::er::isUnpacking(), next, pup(), recvs, sends, SRentry(), and timestamp.

Referenced by SRtable::pup(), pup(), GVT::pup(), and PVT::pup().

Here is the call graph for this function:

Here is the caller graph for this function:

SRentry& SRentry::operator= ( const SRentry e  )  [inline]

Assignment operator.

Definition at line 75 of file srtable.h.

References recvs, sends, and timestamp.

void SRentry::dump (  )  [inline]

Dump data fields.

Definition at line 82 of file srtable.h.

References next, recvs, sends, and timestamp.

Referenced by SRtable::dump().

Here is the caller graph for this function:

char * SRentry::dumpString (  ) 

Dump data fields to a string.

SendRecvTable for POSE GVT calculations.

Dump data fields to a string

Definition at line 10 of file srtable.C.

References recvs, sends, snprintf(), and timestamp.

Referenced by SRtable::dumpString().

Here is the call graph for this function:

Here is the caller graph for this function:

void SRentry::sanitize (  )  [inline]

Check validity of data fields.

Definition at line 90 of file srtable.h.

References next, POSE_UnsetTS, recvs, sends, and timestamp.

Referenced by SRtable::sanitize().

Here is the caller graph for this function:


Field Documentation


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

Generated on Mon Sep 21 08:30:03 2020 for Charm++ by  doxygen 1.5.5