|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
33 #include <ns3/simulator.h>
48 : m_remoteSystemId (UINT32_MAX),
55 : m_remoteSystemId (remoteSystemId),
122 <<
", Delay = " << bundle.
m_delay << std::endl;
126 out <<
"\t" << element.second << std::endl;
a unique identifier for an interface.
Declaration of classes ns3::NullMessageSentBuffer and ns3::NullMessageMpiInterface.
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file,...
Declaration of class ns3::RemoteChannelBundle.
Collection of ns-3 channels between local and remote nodes.
An identifier for simulation events.
static Time Now(void)
Return the current simulation virtual time.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Time GetDelay(void) const
Get the minimum delay along any channel in this bundle.
int64x64_t Min(const int64x64_t &a, const int64x64_t &b)
Minimum.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
EventId m_nullEventId
Event scheduled to send Null Message for this bundle.
Time m_guaranteeTime
Guarantee time for the incoming Channels from MPI task remote_rank.
int64x64_t Max(const int64x64_t &a, const int64x64_t &b)
Maximum.
void SetEventId(EventId id)
Set the event ID of the Null Message send event currently scheduled for this channel.
ChannelMap m_channels
ChannelId to Channel map.
A base class which provides memory management and object aggregation.
void AddChannel(Ptr< Channel > channel, Time delay)
Add a channel to this bundle.
Simulation virtual time values and global simulation resolution.
uint32_t m_remoteSystemId
Remote rank.
EventId GetEventId(void) const
Get the event ID of the Null Message send event for this bundle.
void SetGuaranteeTime(Time time)
std::size_t GetSize(void) const
Get the number of ns-3 channels in this bundle.
static void SendNullMessage(const Time &guaranteeUpdate, Ptr< RemoteChannelBundle > bundle)
Send a Null Message to across the specified bundle.
static TypeId GetTypeId(void)
Register this type.
uint32_t GetSystemId() const
Get the system Id for this side.
Time m_delay
Delay for this Channel bundle, which is the min link delay over all incoming channels;.
RemoteChannelBundle()
Default constructor.
std::ostream & operator<<(std::ostream &os, const Angles &a)
Declaration of class ns3::NullMessageSimulatorImpl.
Time GetGuaranteeTime(void) const
Get the current guarantee time for this bundle.