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 () |
uint32_t | GetRxCount () |
Time | GetSmallestTime () |
uint32_t | GetTxCount () |
bool | IsFinished () |
Private Attributes | |
bool | m_isFinished |
uint32_t | m_myId |
uint32_t | m_rxCount |
Time | m_smallestTime |
uint32_t | m_txCount |
Structure used for all-reduce LBTS computation.
Definition at line 37 of file distributed-simulator-impl.h.
|
inline |
Definition at line 40 of file distributed-simulator-impl.h.
|
inline |
rxc | received count |
txc | transmitted count |
id | mpi rank |
isFinished | whether message is finished |
t | smallest time |
Definition at line 55 of file distributed-simulator-impl.h.
ns3::LbtsMessage::~LbtsMessage | ( | ) |
Definition at line 46 of file distributed-simulator-impl.cc.
uint32_t ns3::LbtsMessage::GetMyId | ( | ) |
Definition at line 68 of file distributed-simulator-impl.cc.
References m_myId.
uint32_t ns3::LbtsMessage::GetRxCount | ( | ) |
Definition at line 63 of file distributed-simulator-impl.cc.
References m_rxCount.
Referenced by ns3::DistributedSimulatorImpl::Run().
Time ns3::LbtsMessage::GetSmallestTime | ( | ) |
Definition at line 51 of file distributed-simulator-impl.cc.
References m_smallestTime.
Referenced by ns3::DistributedSimulatorImpl::Run().
uint32_t ns3::LbtsMessage::GetTxCount | ( | ) |
Definition at line 57 of file distributed-simulator-impl.cc.
References m_txCount.
Referenced by ns3::DistributedSimulatorImpl::Run().
bool ns3::LbtsMessage::IsFinished | ( | void | ) |
Definition at line 74 of file distributed-simulator-impl.cc.
References m_isFinished.
Referenced by ns3::DistributedSimulatorImpl::Run().
|
private |
Definition at line 92 of file distributed-simulator-impl.h.
Referenced by IsFinished().
|
private |
Definition at line 90 of file distributed-simulator-impl.h.
Referenced by GetMyId().
|
private |
Definition at line 89 of file distributed-simulator-impl.h.
Referenced by GetRxCount().
|
private |
Definition at line 91 of file distributed-simulator-impl.h.
Referenced by GetSmallestTime().
|
private |
Definition at line 88 of file distributed-simulator-impl.h.
Referenced by GetTxCount().