#include <srtable.h>
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. | |
SRentry & | operator= (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. | |
SRentry * | next |
Next SRentry in list. |
This class is used in SendRecvTable to store residual send/recv data
Definition at line 14 of file srtable.h.
SRentry::SRentry | ( | ) | [inline] |
SRentry::SRentry | ( | POSE_TimeType | ts, | |
SRentry * | p | |||
) | [inline] |
SRentry::SRentry | ( | POSE_TimeType | ts, | |
int | sr, | |||
SRentry * | p | |||
) | [inline] |
SRentry::SRentry | ( | POSE_TimeType | ts, | |
int | sr | |||
) | [inline] |
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().
void SRentry::dump | ( | ) | [inline] |
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().
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().
Timestamp of the message.
Definition at line 17 of file srtable.h.
Referenced by PVT::addSR(), GVT::addSR(), SRtable::CompressAndSortBucket(), GVT::computeGVT(), dump(), dumpString(), SRtable::Insert(), SRtable::MapToBuckets(), operator=(), SRtable::PackTable(), pup(), PVT::reportReduce(), SRtable::Restructure(), sanitize(), and SRtable::sanitize().
The number of messages sent with theTimestamp.
Definition at line 19 of file srtable.h.
Referenced by PVT::addSR(), GVT::addSR(), SRtable::CompressAndSortBucket(), GVT::computeGVT(), dump(), dumpString(), SRtable::Insert(), SRtable::MapToBuckets(), operator=(), SRtable::PackTable(), pup(), PVT::reportReduce(), SRtable::Restructure(), sanitize(), SRtable::sanitize(), and SRentry().
The number of messages sent with theTimestamp.
Definition at line 21 of file srtable.h.
Referenced by PVT::addSR(), GVT::addSR(), SRtable::CompressAndSortBucket(), GVT::computeGVT(), dump(), dumpString(), SRtable::Insert(), SRtable::MapToBuckets(), operator=(), SRtable::PackTable(), pup(), PVT::reportReduce(), SRtable::Restructure(), sanitize(), SRtable::sanitize(), and SRentry().
Next SRentry in list.
Definition at line 23 of file srtable.h.
Referenced by PVT::addSR(), GVT::addSR(), SRtable::CompressAndSortBucket(), GVT::computeGVT(), dump(), SRtable::dump(), SRtable::dumpString(), SRtable::FreeTable(), SRtable::Insert(), SRtable::MapToBuckets(), SRtable::PackTable(), SRtable::pup(), pup(), PVT::reportReduce(), SRtable::Restructure(), sanitize(), and SRtable::sanitize().