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