Structure used for all-reduce LBTS computation. More...
#include "distributed-simulator-impl.h"
| Public Member Functions | |
| LbtsMessage () | |
| LbtsMessage (uint32_t rxc, uint32_t txc, uint32_t id, bool isFinished, const Time &t) | |
| ~LbtsMessage () | |
| uint32_t | GetMyId () const | 
| uint32_t | GetRxCount () const | 
| Time | GetSmallestTime () | 
| uint32_t | GetTxCount () const | 
| bool | IsFinished () const | 
| Private Attributes | |
| bool | m_isFinished | 
| truewhen this rank has no more events. | |
| uint32_t | m_myId | 
| System Id of the rank sending this LBTS. | |
| uint32_t | m_rxCount | 
| Count of received messages. | |
| Time | m_smallestTime | 
| Earliest next event timestamp. | |
| uint32_t | m_txCount | 
| Count of transmitted messages. | |
Structure used for all-reduce LBTS computation.
Definition at line 32 of file distributed-simulator-impl.h.
| 
 | inline | 
Definition at line 35 of file distributed-simulator-impl.h.
References m_isFinished, m_myId, m_rxCount, and m_txCount.
| 
 | inline | 
| rxc | received count | 
| txc | transmitted count | 
| id | mpi rank | 
| isFinished | whether message is finished | 
| t | smallest time | 
Definition at line 50 of file distributed-simulator-impl.h.
References m_isFinished, m_myId, m_rxCount, m_smallestTime, and m_txCount.
| ns3::LbtsMessage::~LbtsMessage | ( | ) | 
Definition at line 39 of file distributed-simulator-impl.cc.
| uint32_t ns3::LbtsMessage::GetMyId | ( | ) | const | 
Definition at line 62 of file distributed-simulator-impl.cc.
References m_myId.
| uint32_t ns3::LbtsMessage::GetRxCount | ( | ) | const | 
Definition at line 56 of file distributed-simulator-impl.cc.
References m_rxCount.
| Time ns3::LbtsMessage::GetSmallestTime | ( | ) | 
Definition at line 44 of file distributed-simulator-impl.cc.
References m_smallestTime.
| uint32_t ns3::LbtsMessage::GetTxCount | ( | ) | const | 
Definition at line 50 of file distributed-simulator-impl.cc.
References m_txCount.
| bool ns3::LbtsMessage::IsFinished | ( | ) | const | 
Definition at line 68 of file distributed-simulator-impl.cc.
References m_isFinished.
| 
 | private | 
true when this rank has no more events. 
Definition at line 87 of file distributed-simulator-impl.h.
Referenced by LbtsMessage(), LbtsMessage(), and IsFinished().
| 
 | private | 
System Id of the rank sending this LBTS.
Definition at line 85 of file distributed-simulator-impl.h.
Referenced by LbtsMessage(), LbtsMessage(), and GetMyId().
| 
 | private | 
Count of received messages.
Definition at line 84 of file distributed-simulator-impl.h.
Referenced by LbtsMessage(), LbtsMessage(), and GetRxCount().
| 
 | private | 
Earliest next event timestamp.
Definition at line 86 of file distributed-simulator-impl.h.
Referenced by LbtsMessage(), and GetSmallestTime().
| 
 | private | 
Count of transmitted messages.
Definition at line 83 of file distributed-simulator-impl.h.
Referenced by LbtsMessage(), LbtsMessage(), and GetTxCount().