PPL Logo

AmpiOtherElement Class Reference

Our local representation of another AMPI array element. More...

#include <ampiimpl.h>

Collaboration diagram for AmpiOtherElement:

Collaboration graph
[legend]

Public Member Functions

 AmpiOtherElement () noexcept
 seqIncoming starts from 1, b/c 0 means unsequenced seqOutgoing starts from 0, b/c this will be incremented for the first real seq #
void incSeqIncoming () noexcept
 Handle wrap around of unsigned type CMK_REFNUM_TYPE.
CMK_REFNUM_TYPE getSeqIncoming () const noexcept
void incSeqOutgoing () noexcept
CMK_REFNUM_TYPE getSeqOutgoing () const noexcept
void incNumOutOfOrder () noexcept
void decNumOutOfOrder () noexcept
uint16_t getNumOutOfOrder () const noexcept

Private Attributes

CMK_REFNUM_TYPE seqIncoming
 Next incoming and outgoing message sequence number.
CMK_REFNUM_TYPE seqOutgoing
uint16_t numOutOfOrder
 Number of messages in out-of-order queue (normally 0).

Detailed Description

Our local representation of another AMPI array element.

Used to keep track of incoming and outgoing message sequence numbers, and the out-of-order message list.

Definition at line 1818 of file ampiimpl.h.


Constructor & Destructor Documentation

AmpiOtherElement::AmpiOtherElement (  )  [inline]

seqIncoming starts from 1, b/c 0 means unsequenced seqOutgoing starts from 0, b/c this will be incremented for the first real seq #

Definition at line 1829 of file ampiimpl.h.


Member Function Documentation

void AmpiOtherElement::incSeqIncoming (  )  [inline]

Handle wrap around of unsigned type CMK_REFNUM_TYPE.

Definition at line 1832 of file ampiimpl.h.

Referenced by PUPbytes().

Here is the caller graph for this function:

CMK_REFNUM_TYPE AmpiOtherElement::getSeqIncoming (  )  const [inline]

Definition at line 1833 of file ampiimpl.h.

Referenced by PUPbytes().

Here is the caller graph for this function:

void AmpiOtherElement::incSeqOutgoing (  )  [inline]

Definition at line 1835 of file ampiimpl.h.

Referenced by PUPbytes().

Here is the caller graph for this function:

CMK_REFNUM_TYPE AmpiOtherElement::getSeqOutgoing (  )  const [inline]

Definition at line 1836 of file ampiimpl.h.

Referenced by PUPbytes().

Here is the caller graph for this function:

void AmpiOtherElement::incNumOutOfOrder (  )  [inline]

Definition at line 1838 of file ampiimpl.h.

void AmpiOtherElement::decNumOutOfOrder (  )  [inline]

Definition at line 1839 of file ampiimpl.h.

uint16_t AmpiOtherElement::getNumOutOfOrder (  )  const [inline]

Definition at line 1840 of file ampiimpl.h.

Referenced by PUPbytes().

Here is the caller graph for this function:


Field Documentation

CMK_REFNUM_TYPE AmpiOtherElement::seqIncoming [private]

Next incoming and outgoing message sequence number.

Definition at line 1821 of file ampiimpl.h.

CMK_REFNUM_TYPE AmpiOtherElement::seqOutgoing [private]

Definition at line 1821 of file ampiimpl.h.

Number of messages in out-of-order queue (normally 0).

Definition at line 1824 of file ampiimpl.h.


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

Generated on Mon Sep 21 08:17:20 2020 for Charm++ by  doxygen 1.5.5