A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::Simulator Class Reference

Control the scheduling of simulation events. More...

#include "simulator.h"

+ Collaboration diagram for ns3::Simulator:

Public Types

enum  : uint32_t { NO_CONTEXT = 0xffffffff }
 Context enum values. More...
 

Public Member Functions

 Simulator ()=delete
 
 ~Simulator ()=delete
 

Static Public Member Functions

static void Cancel (const EventId &id)
 Set the cancel bit on this event: the event's associated function will not be invoked when it expires.
 
static void Destroy ()
 Execute the events scheduled with ScheduleDestroy().
 
static uint32_t GetContext ()
 Get the current simulation context.
 
static Time GetDelayLeft (const EventId &id)
 Get the remaining time until this event will execute.
 
static uint64_t GetEventCount ()
 Get the number of events executed.
 
static Ptr< SimulatorImplGetImplementation ()
 Get the SimulatorImpl singleton.
 
static Time GetMaximumSimulationTime ()
 Get the maximum representable simulation time.
 
static EventId GetStopEvent ()
 Returns the Stop Event, or an invalid event if the simulation does not have a scheduled stop time.
 
static uint32_t GetSystemId ()
 Get the system id of this simulator.
 
static bool IsExpired (const EventId &id)
 Check if an event has already run or been cancelled.
 
static bool IsFinished ()
 Check if the simulation should finish.
 
static Time Now ()
 Return the current simulation virtual time.
 
static void Remove (const EventId &id)
 Remove an event from the event list.
 
static void Run ()
 Run the simulation.
 
static EventId Schedule (const Time &delay, const Ptr< EventImpl > &event)
 Schedule a future event execution (in the same context).
 
static EventId ScheduleDestroy (const Ptr< EventImpl > &event)
 Schedule an event to run at the end of the simulation, after the Stop() time or condition has been reached.
 
static EventId ScheduleNow (const Ptr< EventImpl > &event)
 Schedule an event to run at the current virtual time.
 
static void ScheduleWithContext (uint32_t context, const Time &delay, EventImpl *event)
 Schedule a future event execution (in a different context).
 
static void SetImplementation (Ptr< SimulatorImpl > impl)
 
static void SetScheduler (ObjectFactory schedulerFactory)
 Set the scheduler type with an ObjectFactory.
 
static void Stop ()
 Tell the Simulator the calling event should be the last one executed.
 
static EventId Stop (const Time &delay)
 Schedule the time delay until the Simulator should stop.
 
Schedule events (in the same context) to run at a future time.
template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > = 0, std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > = 0, typename... Ts>
static EventId Schedule (const Time &delay, FUNC f, Ts &&... args)
 Schedule an event to expire after delay.
 
template<typename... Us, typename... Ts>
static EventId Schedule (const Time &delay, void(*f)(Us...), Ts &&... args)
 Schedule an event to expire after delay.
 
Schedule events (in a different context) to run now or at a future time.

See main-test-sync.cc for example usage.

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > = 0, std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > = 0, typename... Ts>
static void ScheduleWithContext (uint32_t context, const Time &delay, FUNC f, Ts &&... args)
 Schedule an event with the given context.
 
template<typename... Us, typename... Ts>
static void ScheduleWithContext (uint32_t context, const Time &delay, void(*f)(Us...), Ts &&... args)
 Schedule an event with the given context.
 
Schedule events (in the same context) to run now.
template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > = 0, std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > = 0, typename... Ts>
static EventId ScheduleNow (FUNC f, Ts &&... args)
 Schedule an event to expire Now.
 
template<typename... Us, typename... Ts>
static EventId ScheduleNow (void(*f)(Us...), Ts &&... args)
 Schedule an event to expire Now.
 
Schedule events to run at the end of the simulation, when Simulator:Destroy() is

called.

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > = 0, std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > = 0, typename... Ts>
static EventId ScheduleDestroy (FUNC f, Ts &&... args)
 Schedule an event to run at the end of the simulation, when Simulator::Destroy() is called.
 
template<typename... Us, typename... Ts>
static EventId ScheduleDestroy (void(*f)(Us...), Ts &&... args)
 Schedule an event to run at the end of the simulation, when Simulator::Destroy() is called.
 

Static Private Member Functions

static EventId DoSchedule (const Time &delay, EventImpl *event)
 Implementation of the various Schedule methods.
 
static EventId DoScheduleDestroy (EventImpl *event)
 Implementation of the various ScheduleDestroy methods.
 
static EventId DoScheduleNow (EventImpl *event)
 Implementation of the various ScheduleNow methods.
 

Static Private Attributes

static EventId m_stopEvent
 Stop event (if present)
 

Detailed Description

Control the scheduling of simulation events.

The internal simulation clock is maintained as a 64-bit integer in a unit specified by the user through the Time::SetResolution function. This means that it is not possible to specify event expiration times with anything better than this user-specified accuracy. Events whose expiration time is the same modulo this accuracy are scheduled in FIFO order: the first event inserted in the scheduling queue is scheduled to expire first.

A simple example of how to use the Simulator class to schedule events is shown in sample-simulator.cc:

/*
* Copyright (c) 2010 INRIA
*
* SPDX-License-Identifier: GPL-2.0-only
*
* Authors: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#include "ns3/command-line.h"
#include "ns3/double.h"
#include "ns3/nstime.h"
#include "ns3/random-variable-stream.h"
#include "ns3/simulator.h"
#include <iostream>
/**
* \file
* \ingroup core-examples
* \ingroup simulator
* Example program demonstrating use of various Schedule functions.
*/
using namespace ns3;
namespace
{
/** Simple model object to illustrate event handling. */
class MyModel
{
public:
/** Start model execution by scheduling a HandleEvent. */
void Start();
private:
/**
* Simple event handler.
*
* \param [in] eventValue Event argument.
*/
void HandleEvent(double eventValue);
};
void
{
Simulator::Schedule(Seconds(10.0), &MyModel::HandleEvent, this, Simulator::Now().GetSeconds());
}
void
MyModel::HandleEvent(double value)
{
std::cout << "Member method received event at " << Simulator::Now().GetSeconds()
<< "s started at " << value << "s" << std::endl;
}
/**
* Simple function event handler which Starts a MyModel object.
*
* \param [in] model The MyModel object to start.
*/
void
ExampleFunction(MyModel* model)
{
std::cout << "ExampleFunction received event at " << Simulator::Now().GetSeconds() << "s"
<< std::endl;
model->Start();
}
/**
* Simple function event handler; this function is called randomly.
*/
void
{
std::cout << "RandomFunction received event at " << Simulator::Now().GetSeconds() << "s"
<< std::endl;
}
/** Simple function event handler; the corresponding event is cancelled. */
void
{
std::cout << "I should never be called... " << std::endl;
}
} // unnamed namespace
int
main(int argc, char* argv[])
{
CommandLine cmd(__FILE__);
cmd.Parse(argc, argv);
MyModel model;
Ptr<UniformRandomVariable> v = CreateObject<UniformRandomVariable>();
v->SetAttribute("Min", DoubleValue(10));
v->SetAttribute("Max", DoubleValue(20));
Simulator::Schedule(Seconds(10.0), &ExampleFunction, &model);
Simulator::Schedule(Seconds(v->GetValue()), &RandomFunction);
EventId id = Simulator::Schedule(Seconds(30.0), &CancelledEvent);
Simulator::Cancel(id);
Simulator::Schedule(Seconds(25.0), []() {
std::cout << "Code within a lambda expression at time " << Simulator::Now().As(Time::S)
<< std::endl;
});
Simulator::Run();
Simulator::Destroy();
return 0;
}
void Start()
Start model execution by scheduling a HandleEvent.
void HandleEvent(double eventValue)
Simple event handler.
Parse command-line arguments.
This class can be used to hold variables of floating point type such as 'double' or 'float'.
Definition double.h:31
An identifier for simulation events.
Definition event-id.h:45
Smart pointer class similar to boost::intrusive_ptr.
TimeWithUnit As(const Unit unit=Time::AUTO) const
Attach a unit to a Time, to facilitate output in a specific unit.
Definition time.cc:404
Time Seconds(double value)
Construct a Time in the indicated unit.
Definition nstime.h:1308
void CancelledEvent()
Simple function event handler; the corresponding event is cancelled.
void ExampleFunction(MyModel *model)
Simple function event handler which Starts a MyModel object.
void RandomFunction()
Simple function event handler; this function is called randomly.
Every class exported by the ns3 library is enclosed in the ns3 namespace.

Definition at line 56 of file simulator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint32_t

Context enum values.

Internal:
This enum type is fixed to match the representation size of simulation context.
Enumerator
NO_CONTEXT 

Flag for events not associated with any particular context.

Definition at line 194 of file simulator.h.

Constructor & Destructor Documentation

◆ Simulator()

ns3::Simulator::Simulator ( )
delete

◆ ~Simulator()

ns3::Simulator::~Simulator ( )
delete

Member Function Documentation

◆ Cancel()

void ns3::Simulator::Cancel ( const EventId & id)
static

Set the cancel bit on this event: the event's associated function will not be invoked when it expires.

This method has the same visible effect as the ns3::Simulator::Remove method but its algorithmic complexity is much lower: it has O(1) complexity. This method has the exact same semantics as ns3::EventId::Cancel. Note that it is not possible to cancel events which were scheduled for the "destroy" time. Doing so will result in a program error (crash).

Parameters
[in]idthe event to cancel

Definition at line 274 of file simulator.cc.

References ns3::SimulatorImpl::Cancel(), ns3::GetImpl(), and ns3::PeekImpl().

Referenced by ns3::DpdkNetDevice::~DpdkNetDevice(), ns3::EventGarbageCollector::~EventGarbageCollector(), ns3::EventId::Cancel(), ns3::ThreeGppHttpClient::CancelAllPendingEvents(), ns3::LteUeRrc::CancelEnteringTrigger(), ns3::LteUeRrc::CancelEnteringTrigger(), ns3::OnOffApplication::CancelEvents(), ns3::LteUeRrc::CancelLeavingTrigger(), ns3::LteUeRrc::CancelLeavingTrigger(), ns3::ThreeGppHttpServerTxBuffer::CloseAllSockets(), ns3::ThreeGppHttpServerTxBuffer::CloseSocket(), ns3::DataCalculator::DoDispose(), ns3::FlowMonitor::DoDispose(), ns3::BaseStationNetDevice::DoReceive(), ns3::SubscriberStationNetDevice::DoReceive(), SimulatorEventsTestCase::DoRun(), ns3::UanPhyGen::EnergyDepletionHandler(), ns3::dsdv::RoutingTable::ForceDeleteIpv4Event(), ns3::SSLinkManager::PerformRanging(), ns3::lorawan::EndDeviceLorawanMac::postponeTransmission(), ns3::lorawan::ClassAEndDeviceLorawanMac::Receive(), ns3::lorawan::EndDeviceStatus::RemoveReceiveWindowOpportunity(), ns3::ThreeGppHttpServerTxBuffer::RemoveSocket(), ns3::NullMessageSimulatorImpl::RescheduleNullMessageEvent(), ns3::lorawan::EndDeviceLorawanMac::resetRetransmissionParameters(), ns3::UanMacCw::SaveTimer(), ns3::SsServiceFlowManager::ScheduleDsaReq(), ns3::BsServiceFlowManager::ScheduleDsaRsp(), ns3::lorawan::SimpleGatewayLoraPhy::Send(), ns3::ShowProgress::SetInterval(), ns3::SubscriberStationNetDevice::SetTimer(), ns3::MeshWifiInterfaceMac::ShiftTbtt(), ns3::FdNetDevice::Start(), ns3::FlowMonitor::Start(), ns3::TapBridge::Start(), ns3::lorawan::OneShotSender::StartApplication(), ns3::lorawan::PeriodicSender::StartApplication(), Sender::StartApplication(), ns3::SimpleOfdmWimaxPhy::StartReceive(), ns3::FdNetDevice::Stop(), ns3::FlowMonitor::Stop(), ns3::TapBridge::Stop(), EpsBearerTagUdpClient::StopApplication(), ns3::lorawan::OneShotSender::StopApplication(), ns3::lorawan::PeriodicSender::StopApplication(), ns3::PacketSocketClient::StopApplication(), ns3::Radvd::StopApplication(), ns3::TutorialApp::StopApplication(), ns3::UdpClient::StopApplication(), ns3::UdpEchoClient::StopApplication(), ns3::UdpTraceClient::StopApplication(), Sender::StopApplication(), and ns3::DpdkNetDevice::Write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Destroy()

void ns3::Simulator::Destroy ( )
static

Execute the events scheduled with ScheduleDestroy().

This method is typically invoked at the end of a simulation to avoid false-positive reports by a leak checker. After this method has been invoked, it is actually possible to restart a new simulation with a set of calls to Simulator::Run, Simulator::Schedule and Simulator::ScheduleWithContext.

Definition at line 131 of file simulator.cc.

References ns3::LogSetNodePrinter(), ns3::LogSetTimePrinter(), NS_LOG_FUNCTION_NOARGS, and ns3::PeekImpl().

Referenced by BenchSuite::BenchSuite(), DsdvManetExample::CaseRun(), BatteryLifetimeTest::ConstantLoadTest(), BasicEnergyDepletionTest::DepletionTestCase(), UanTest::DoOnePhyTest(), AbstractAnimationInterfaceTestCase::DoRun(), AcousticModemEnergyDepletionTestCase::DoRun(), AcousticModemEnergyTestCase::DoRun(), AidAssignmentTest::DoRun(), AredQueueDiscTestCase::DoRun(), BackoffGenerationTest::DoRun(), BasicEnergyHarvesterTestCase::DoRun(), BlockAckAggregationDisabledTest::DoRun(), BlockAckRecipientBufferTest::DoRun(), BoxLineIntersectionTestCase::DoRun(), BridgeTest::DoRun(), BriteTopologyFunctionTestCase::DoRun(), Bug2222TestCase::DoRun(), Bug2831TestCase::DoRun(), Bug2843TestCase::DoRun(), Bug730TestCase::DoRun(), Bug772ChainTest::DoRun(), BuildingsChannelConditionModelTestCase::DoRun(), BuildingsHelperOneTestCase::DoRun(), BuildingsPathlossTestCase::DoRun(), BuildingsPenetrationLossesTestCase::DoRun(), BuildingsShadowingTestCase::DoRun(), BulkSendBasicTestCase::DoRun(), BulkSendSeqTsSizeTestCase::DoRun(), BurstErrorModelSimple::DoRun(), CarrierAggregationConfigTestCase::DoRun(), CarrierAggregationTestCase::DoRun(), CCAVulnerableWindowTest::DoRun(), ChainRegressionTest::DoRun(), ChannelTest::DoRun(), CobaltQueueDiscCeThresholdTest::DoRun(), CobaltQueueDiscDropTest::DoRun(), CobaltQueueDiscEnhancedBlueTest::DoRun(), CobaltQueueDiscMarkTest::DoRun(), CoDelQueueDiscBasicDrop::DoRun(), CoDelQueueDiscBasicMark::DoRun(), CsmaBridgeTestCase::DoRun(), CsmaBroadcastTestCase::DoRun(), CsmaMulticastTestCase::DoRun(), CsmaOneSubnetTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), CsmaPingTestCase::DoRun(), CsmaRawIpSocketTestCase::DoRun(), CsmaStarTestCase::DoRun(), DcfImmediateAccessBroadcastTestCase::DoRun(), DhcpTestCase::DoRun(), DownlinkPacketTest::DoRun(), DsdvTableTestCase::DoRun(), DsrSendBuffTest::DoRun(), DsssModulationTest::DoRun(), DuplicateTest::DoRun(), DynamicNeighborCacheTest::DoRun(), DynamicPartialTest::DoRun(), EmlOmnExchangeTest::DoRun(), EmlsrCcaBusyTest::DoRun(), EmlsrDlTxopTest::DoRun(), EmlsrLinkSwitchTest::DoRun(), EmlsrUlTxopTest::DoRun(), EpcS1uDlTestCase::DoRun(), EpcS1uUlTestCase::DoRun(), ErrorModelSimple::DoRun(), FifoQueueDiscTestCase::DoRun(), FlameRegressionTest::DoRun(), FlameRtableTest::DoRun(), FlushTest::DoRun(), FqCobaltQueueDiscDeficit::DoRun(), FqCobaltQueueDiscEcnMarking::DoRun(), FqCobaltQueueDiscIPFlowsSeparationAndPacketLimit::DoRun(), FqCobaltQueueDiscL4sMode::DoRun(), FqCobaltQueueDiscNoSuitableFilter::DoRun(), FqCobaltQueueDiscSetLinearProbing::DoRun(), FqCobaltQueueDiscTCPFlowsSeparation::DoRun(), FqCobaltQueueDiscUDPFlowsSeparation::DoRun(), FqCoDelQueueDiscDeficit::DoRun(), FqCoDelQueueDiscECNMarking::DoRun(), FqCoDelQueueDiscIPFlowsSeparationAndPacketLimit::DoRun(), FqCoDelQueueDiscL4sMode::DoRun(), FqCoDelQueueDiscNoSuitableFilter::DoRun(), FqCoDelQueueDiscSetLinearProbing::DoRun(), FqCoDelQueueDiscTCPFlowsSeparation::DoRun(), FqCoDelQueueDiscUDPFlowsSeparation::DoRun(), FqPieQueueDiscDeficit::DoRun(), FqPieQueueDiscIPFlowsSeparationAndPacketLimit::DoRun(), FqPieQueueDiscL4sMode::DoRun(), FqPieQueueDiscNoSuitableFilter::DoRun(), FqPieQueueDiscSetLinearProbing::DoRun(), FqPieQueueDiscTCPFlowsSeparation::DoRun(), FqPieQueueDiscUDPFlowsSeparation::DoRun(), GlobalRouteManagerImplTestCase::DoRun(), HwmpDoRfRegressionTest::DoRun(), HwmpProactiveRegressionTest::DoRun(), HwmpReactiveRegressionTest::DoRun(), HwmpRtableTest::DoRun(), HwmpSimplestRegressionTest::DoRun(), IcmpEchoReplyTestCase::DoRun(), IcmpTimeExceedTestCase::DoRun(), IcmpV6EchoReplyTestCase::DoRun(), IcmpV6TimeExceedTestCase::DoRun(), IdealRateManagerChannelWidthTest::DoRun(), IdealRateManagerMimoTest::DoRun(), InterfaceContainerTest::DoRun(), InterferenceHelperSequenceTest::DoRun(), Ipv4DeduplicationPerformanceTest::DoRun(), Ipv4DeduplicationTest::DoRun(), Ipv4DynamicGlobalRoutingTestCase::DoRun(), Ipv4ForwardingTest::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv4GlobalRoutingSlash32TestCase::DoRun(), Ipv4HeaderTest::DoRun(), Ipv4L3ProtocolTestCase::DoRun(), Ipv4PacketInfoTagTest::DoRun(), Ipv4RawSocketImplTest::DoRun(), Ipv4RipCountToInfinityTest::DoRun(), Ipv4RipSplitHorizonStrategyTest::DoRun(), Ipv4RipTest::DoRun(), Ipv4StaticRoutingSlash32TestCase::DoRun(), Ipv6DadTest::DoRun(), Ipv6ForwardingTest::DoRun(), Ipv6FragmentationTest::DoRun(), Ipv6L3ProtocolTestCase::DoRun(), Ipv6PacketInfoTagTest::DoRun(), Ipv6RawSocketImplTest::DoRun(), Ipv6RipngCountToInfinityTest::DoRun(), Ipv6RipngSplitHorizonStrategyTest::DoRun(), Ipv6RipngTest::DoRun(), Issue169TestCase::DoRun(), Issue211Test::DoRun(), LanTest::DoRun(), LargestIdlePrimaryChannelTest::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaDataPhyErrorModelTestCase::DoRun(), LenaDlCtrlPhyErrorModelTestCase::DoRun(), LenaFdBetFfMacSchedulerTestCase1::DoRun(), LenaFdBetFfMacSchedulerTestCase2::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaHarqTestCase::DoRun(), LenaMimoTestCase::DoRun(), LenaPfFfMacSchedulerTestCase1::DoRun(), LenaPfFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaRrFfMacSchedulerTestCase::DoRun(), LenaTdBetFfMacSchedulerTestCase1::DoRun(), LenaTdBetFfMacSchedulerTestCase2::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), LiIonEnergyTestCase::DoRun(), LinkCheckTest::DoRun(), LinkTest::DoRun(), LrWpanAckTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanCollisionTestCase::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanEdTestCase::DoRun(), LrWpanErrorDistanceTestCase::DoRun(), LrWpanPlmeAndPdInterfaceTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteCqiGenerationDlPowerControlTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), LteDownlinkPowerControlTestCase::DoRun(), LteEnbAntennaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteHandoverDelayTestCase::DoRun(), LteHandoverFailureTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteHardFrTestCase::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteIpv6RoutingTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), LtePrimaryCellChangeTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LteRlcAmTransmitterConcatenationTestCase::DoRun(), LteRlcAmTransmitterOneSduTestCase::DoRun(), LteRlcAmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcAmTransmitterSegmentationTestCase::DoRun(), LteRlcUmE2eTestCase::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), LteRlcUmTransmitterOneSduTestCase::DoRun(), LteRlcUmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LteSecondaryCellHandoverTestCase::DoRun(), LteSecondaryCellSelectionTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteStrictFrTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LteUeMeasurementsPiecewiseTestCase3::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), MatrixPropagationLossModelTestCase::DoRun(), MobilityTraceTestCase::DoRun(), MultiLinkMuTxTest::DoRun(), MultiLinkSetupTest::DoRun(), MultiLinkTxTest::DoRun(), NetDeviceContainerTest::DoRun(), NixVectorRoutingTest::DoRun(), ns3::aodv::AodvRqueueTest::DoRun(), ns3::aodv::AodvRtableEntryTest::DoRun(), ns3::aodv::AodvRtableTest::DoRun(), ns3::aodv::IdCacheTest::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), ns3::aodv::NeighborTest::DoRun(), ns3::LenaDeactivateBearerTestCase::DoRun(), ns3::olsr::Bug780Test::DoRun(), ns3::olsr::HelloRegressionTest::DoRun(), ns3::olsr::TcRegressionTest::DoRun(), ns3::TcpBbrCheckGainValuesTest::DoRun(), ns3::TcpBbrPacingEnableTest::DoRun(), ns3::TcpLpInferenceTest1::DoRun(), ns3::TcpLpInferenceTest2::DoRun(), ns3::TcpLpToNewReno::DoRun(), ns3::tests::EventGarbageCollectorTestCase::DoRun(), ns3::tests::WatchdogTestCase::DoRun(), Ns3TcpCubicTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), Ns3TcpStateTestCase::DoRun(), Ns3WimaxFragmentationTestCase::DoRun(), Ns3WimaxManagementConnectionsTestCase::DoRun(), Ns3WimaxNetworkEntryTestCase::DoRun(), Ns3WimaxSfCreationTestCase::DoRun(), OfdmaAckSequenceTest::DoRun(), OrigBlockAckWindowStalled::DoRun(), OutdoorRandomWalkTestCase::DoRun(), PacketSocketAppsTest::DoRun(), PeerManagementProtocolRegressionTest::DoRun(), PfifoFastQueueDiscDscpPrioritization::DoRun(), PfifoFastQueueDiscNoPriority::DoRun(), PfifoFastQueueDiscOverflow::DoRun(), PfifoFastQueueDiscTosPrioritization::DoRun(), PhyConnectivityTest::DoRun(), PieQueueDiscTestCase::DoRun(), PointToPointTest::DoRun(), PreservePacketsInAmpdus::DoRun(), PrioQueueDiscTestCase::DoRun(), ProbeTestCase1::DoRun(), QosFragmentationTestCase::DoRun(), QueueDiscTracesTestCase::DoRun(), RadvdTestCase::DoRun(), RandomRoomPositionAllocatorTestCase::DoRun(), RangePropagationLossModelTestCase::DoRun(), RectangleClosestBorderTestCase::DoRun(), RedQueueDiscTestCase::DoRun(), ReleaseSeqNoAfterCtsTimeoutTest::DoRun(), RocketfuelTopologyReaderMapsTest::DoRun(), RocketfuelTopologyReaderWeightsTest::DoRun(), SameRoomPositionAllocatorTestCase::DoRun(), SetChannelFrequencyTest::DoRun(), SimulatorEventsTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), SixlowpanFragmentationTest::DoRun(), SixlowpanHc1ImplTest::DoRun(), SixlowpanIphcImplTest::DoRun(), SixlowpanIphcStatefulImplTest::DoRun(), SpectrumIdealPhyTestCase::DoRun(), SpectrumInterferenceTestCase::DoRun(), SpectrumWifiPhy80Plus80Test::DoRun(), SpectrumWifiPhyBasicTest::DoRun(), SpectrumWifiPhyFilterTest::DoRun(), SpectrumWifiPhyGetBandTest::DoRun(), SpectrumWifiPhyInterfacesHelperTest::DoRun(), SpectrumWifiPhyListenerTest::DoRun(), SpectrumWifiPhyTrackedBandsTest::DoRun(), StartSeqNoUpdateAfterAddBaTimeoutTest::DoRun(), StaWifiMacScanningTestCase::DoRun(), SteadyStateRandomWaypointTest::DoRun(), TbfQueueDiscTestCase::DoRun(), TcFlowControlTestCase::DoRun(), TcpBicDecrementTest::DoRun(), TcpBicIncrementTest::DoRun(), TcpDctcpToLinuxReno::DoRun(), TcpEndPointBug2211Test::DoRun(), TcpHtcpIncrementTest::DoRun(), TcpLedbatDecrementTest::DoRun(), TcpLedbatIncrementTest::DoRun(), TcpLedbatToNewReno::DoRun(), TcpRateLinuxBasicTest::DoRun(), TcpRateLinuxWithBufferTest::DoRun(), TcpSynConnectionFailedTest::DoRun(), TcpTxBufferTestCase::DoRun(), TestActiveScanPanDescriptors::DoRun(), TestAmpduReception::DoRun(), TestDlMuMimoPhyTransmission::DoRun(), TestDlOfdmaPhyPuncturing::DoRun(), TestDlOfdmaPhyTransmission::DoRun(), TestMultipleCtsResponsesFromMuRts::DoRun(), TestMultipleHeTbPreambles::DoRun(), TestNonHtDuplicatePhyReception::DoRun(), TestOrphanScan::DoRun(), TestPhyDropDueToTx::DoRun(), TestPhyHeadersReception::DoRun(), TestPhyPaddingExclusion::DoRun(), TestPrimary20CoveredByPpdu::DoRun(), TestRxOffWhenIdleAfterCsmaFailure::DoRun(), TestSimpleFrameCaptureModel::DoRun(), TestSpectrumChannelWithBandwidthFilter::DoRun(), TestThresholdPreambleDetectionWithFrameCapture::DoRun(), TestThresholdPreambleDetectionWithoutFrameCapture::DoRun(), TestUlMuMimoPhyTransmission::DoRun(), TestUlOfdmaPhyTransmission::DoRun(), TestUlOfdmaPowerControl::DoRun(), TestUlOfdmaPpduUid::DoRun(), TestUnsupportedBandwidthReception::DoRun(), TestUnsupportedModulationReception::DoRun(), TestWifiPhyRxTraceHelper::DoRun(), TestWifiPhyRxTraceHelperMloStr::DoRun(), TestWifiPhyRxTraceHelperYans::DoRun(), ThreadedSimulatorEventsTestCase::DoRun(), ThreeGppAntennaSetupChangedTest::DoRun(), ThreeGppCalcLongTermMultiPortTest::DoRun(), ThreeGppChannelConditionModelTestCase::DoRun(), ThreeGppChannelMatrixComputationTest::DoRun(), ThreeGppChannelMatrixUpdateTest::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), ThreeGppIndoorOfficePropagationLossModelTestCase::DoRun(), ThreeGppMimoPolarizationTest::DoRun(), ThreeGppRmaPropagationLossModelTestCase::DoRun(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), ThreeGppUmaPropagationLossModelTestCase::DoRun(), ThreeGppUmiPropagationLossModelTestCase::DoRun(), ThreeGppV2vBuildingsChCondModelTestCase::DoRun(), ThreeGppV2vHighwayLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vHighwayPropagationLossModelTestCase::DoRun(), ThreeGppV2vUrbanLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vUrbanPropagationLossModelTestCase::DoRun(), TidToLinkMappingElementTest::DoRun(), TimerTemplateTestCase::DoRun(), TwoBridgeTest::DoRun(), TwoLanTest::DoRun(), TwoLinkTest::DoRun(), TxDurationTest::DoRun(), Udp6SocketImplTest::DoRun(), Udp6SocketLoopbackTest::DoRun(), UdpClientServerTestCase::DoRun(), UdpEchoClientSetFillTestCase::DoRun(), UdpSocketImplTest::DoRun(), UdpSocketLoopbackTest::DoRun(), UdpTraceClientServerTestCase::DoRun(), UplinkPacketTest::DoRun(), V2vHighwayProbChCondModelTestCase::DoRun(), V2vUrbanProbChCondModelTestCase::DoRun(), WaveformGeneratorTestCase::DoRun(), WaypointInitialPositionIsWaypoint::DoRun(), WaypointLazyNotifyFalse::DoRun(), WaypointLazyNotifyTrue::DoRun(), WaypointMobilityModelAddWaypointTest::DoRun(), WaypointMobilityModelNotifyTest::DoRun(), WaypointMobilityModelViaHelper::DoRun(), WifiAcMappingTest::DoRun(), WifiChannelSwitchingTest::DoRun(), WifiExtractExpiredMpdusTest::DoRun(), WifiFilsFrameTest::DoRun(), WifiMacQueueDropOldestTest::DoRun(), WifiMsduAggregatorThroughputTest::DoRun(), WifiPhyCcaIndicationTest::DoRun(), WifiPhyCcaThresholdsTest::DoRun(), WifiPhyChannel80Plus80Test::DoRun(), WifiPhyThresholdsStrongForeignSignalTest::DoRun(), WifiPhyThresholdsStrongWifiSignalTest::DoRun(), WifiPhyThresholdsWeakForeignSignalTest::DoRun(), WifiPhyThresholdsWeakWifiSignalTest::DoRun(), WifiPrimaryChannelsTest::DoRun(), WifiTxopTest::DoRun(), WifiUseAvailBwTest::DoRun(), Ns3WimaxSchedulingTestCase::DoRunOnce(), Ns3WimaxSFTypeTestCase::DoRunOnce(), Ns3WimaxSimpleOFDMTestCase::DoRunOnce(), AddressAllocator6TestCase::DoTeardown(), AddressAllocatorHelperTestCase::DoTeardown(), AddressAllocatorTestCase::DoTeardown(), AddressCollision6TestCase::DoTeardown(), AddressCollisionTestCase::DoTeardown(), AmpduAggregationTest::DoTeardown(), DualStackTestCase::DoTeardown(), InternetStackHelperTestCase::DoTeardown(), IpAddressHelperTestCasev4::DoTeardown(), IpAddressHelperTestCasev6::DoTeardown(), NetworkAllocatorHelperTestCase::DoTeardown(), NetworkAndAddress6TestCase::DoTeardown(), NetworkAndAddressTestCase::DoTeardown(), Ns2MobilityHelperTest::DoTeardown(), ns3::TcpGeneralTest::DoTeardown(), PingTestCase::DoTeardown(), ResetAllocatorHelperTestCase::DoTeardown(), SpectrumWifiPhyMultipleInterfacesTest::DoTeardown(), TcpTestCase::DoTeardown(), TimerTemplateTestCase::DoTeardown(), TimestampValueTestCase::DoTeardown(), ChannelAccessManagerTest< TxopType >::EndTest(), experiment(), experiment(), LteAggregationThroughputScaleTestCase::GetThroughput(), AodvExample::Run(), Bench::Run(), CollisionExperiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), InterferenceExperiment::Run(), MeshTest::Run(), NeighborCacheExample::Run(), NetAnimExperiment::Run(), PsrExperiment::Run(), RoutingExperiment::Run(), TracerouteExample::Run(), Issue40TestCase::RunOne(), TestInterBssConstantObssPdAlgo::RunOne(), WifiTest::RunOne(), Bug2470TestCase::RunSubtest(), ThreeGppShadowingTestCase::RunTest(), BasicEnergyUpdateTest::StateSwitchTest(), PowerRateAdaptationTest::TestAparf(), ThreeGppNTNPropagationLossModelTestCase::TestChannelGain(), PowerRateAdaptationTest::TestParf(), ns3::tests::TrickleTimerTestCase::TestRedundancy(), PowerRateAdaptationTest::TestRrpaa(), ns3::tests::TrickleTimerTestCase::TestSteadyState(), and BatteryLifetimeTest::VariableLoadTest().

+ Here is the call graph for this function:

◆ DoSchedule()

EventId ns3::Simulator::DoSchedule ( const Time & delay,
EventImpl * event )
staticprivate

Implementation of the various Schedule methods.

Parameters
[in]delayDelay until the event should execute.
[in]eventThe event to execute.
Returns
The EventId.

Definition at line 240 of file simulator.cc.

References ns3::Singleton< DesMetrics >::Get(), ns3::GetImpl(), Now(), ns3::SimulatorImpl::Schedule(), and ns3::DesMetrics::Trace().

Referenced by Schedule(), Schedule(), and Schedule().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoScheduleDestroy()

EventId ns3::Simulator::DoScheduleDestroy ( EventImpl * event)
staticprivate

Implementation of the various ScheduleDestroy methods.

Parameters
[in]eventThe event to execute.
Returns
The EventId.

Definition at line 258 of file simulator.cc.

References ns3::GetImpl(), and ns3::SimulatorImpl::ScheduleDestroy().

Referenced by ScheduleDestroy(), ScheduleDestroy(), and ScheduleDestroy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoScheduleNow()

EventId ns3::Simulator::DoScheduleNow ( EventImpl * event)
staticprivate

Implementation of the various ScheduleNow methods.

Parameters
[in]eventThe event to execute.
Returns
The EventId.

Definition at line 249 of file simulator.cc.

References ns3::Singleton< DesMetrics >::Get(), ns3::GetImpl(), Now(), ns3::SimulatorImpl::ScheduleNow(), and ns3::DesMetrics::Trace().

Referenced by ScheduleNow(), ScheduleNow(), and ScheduleNow().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetContext()

uint32_t ns3::Simulator::GetContext ( )
static

Get the current simulation context.

The simulation context is the ns-3 notion of a Logical Process. Events in a single context should only modify state associated with that context. Events for objects in other contexts should be scheduled with ScheduleWithContext() to track the context switches. In other words, events in different contexts should be mutually thread safe, by not modify overlapping model state.

In circumstances where the context can't be determined, such as during object initialization, the enum value NO_CONTEXT should be used.

Returns
The current simulation context

Definition at line 307 of file simulator.cc.

References ns3::SimulatorImpl::GetContext(), and ns3::GetImpl().

Referenced by ns3::DefaultNodePrinter(), ns3::lorawan::LoraPacketTracker::MacGwReceptionCallback(), ns3::lorawan::LoraPacketTracker::MacTransmissionCallback(), ns3::Node::ReceiveFromDevice(), ns3::DesMetrics::Trace(), and ns3::DesMetrics::TraceWithContext().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDelayLeft()

Time ns3::Simulator::GetDelayLeft ( const EventId & id)
static

Get the remaining time until this event will execute.

Parameters
[in]idThe event id to analyse.
Returns
The delay left until the input event id expires. if the event is not running, this method returns zero.

Definition at line 206 of file simulator.cc.

References ns3::SimulatorImpl::GetDelayLeft(), ns3::GetImpl(), and NS_LOG_FUNCTION.

Referenced by ns3::ThreeGppHttpClient::CancelAllPendingEvents(), ns3::LteUeRrc::CancelEnteringTrigger(), ns3::LteUeRrc::CancelEnteringTrigger(), ns3::LteUeRrc::CancelLeavingTrigger(), ns3::LteUeRrc::CancelLeavingTrigger(), ns3::ThreeGppHttpServerTxBuffer::CloseAllSockets(), ns3::ThreeGppHttpServerTxBuffer::CloseSocket(), ns3::TcpSocketBase::Destroy(), ns3::TcpSocketBase::Destroy6(), ns3::TcpSocketBase::DoForwardUp(), ns3::ChannelAccessManager::DoRestartAccessTimeoutIfNeeded(), ns3::HePhy::DoStartReceivePayload(), ns3::Timer::GetDelayLeft(), ns3::TrickleTimer::GetDelayLeft(), ns3::EmlsrManager::GetElapsedMediumSyncDelayTimer(), ns3::TrickleTimer::GetIntervalLeft(), ns3::Rip::HandleResponses(), ns3::RipNg::HandleResponses(), ns3::TcpSocketBase::NewAck(), ns3::lrwpan::LrWpanMac::PdDataIndication(), ns3::lrwpan::LrWpanMac::PlmeEdConfirm(), ns3::TcpSocketBase::ReceivedData(), ns3::ThreeGppHttpServerTxBuffer::RemoveSocket(), ns3::StaWifiMac::RestartBeaconWatchdog(), and ns3::Timer::Suspend().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEventCount()

uint64_t ns3::Simulator::GetEventCount ( )
static

Get the number of events executed.

Returns
The total number of events executed.

Definition at line 313 of file simulator.cc.

References ns3::SimulatorImpl::GetEventCount(), and ns3::GetImpl().

Referenced by ns3::ShowProgress::CheckProgress(), and Ipv4DeduplicationPerformanceTest::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetImplementation()

Ptr< SimulatorImpl > ns3::Simulator::GetImplementation ( )
static

Get the SimulatorImpl singleton.

Internal:
If the SimulatorImpl singleton hasn't been created yet, this function does so. At the same time it also creates the Scheduler. Both of these respect the global values which may have been set from the command line or through the Config system.

As a side effect we also call LogSetTimePrinter() and LogSetNodePrinter() with the default implementations since we can't really do any logging until we have a SimulatorImpl and Scheduler.

Returns
The SimulatorImpl singleton.

Definition at line 362 of file simulator.cc.

References ns3::GetImpl(), and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::PyViz::SimulatorRunUntil().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMaximumSimulationTime()

Time ns3::Simulator::GetMaximumSimulationTime ( )
static

Get the maximum representable simulation time.

Returns
The maximum simulation time at which an event can be scheduled.

The returned value will always be bigger than or equal to Simulator::Now.

Definition at line 300 of file simulator.cc.

References ns3::GetImpl(), ns3::SimulatorImpl::GetMaximumSimulationTime(), and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::ChannelAccessManager::DoRestartAccessTimeoutIfNeeded(), ns3::RemoteChannelBundleManager::GetSafeTime(), ns3::aodv::RoutingProtocol::NotifyAddAddress(), ns3::dsdv::RoutingProtocol::NotifyAddAddress(), ns3::aodv::RoutingProtocol::NotifyInterfaceUp(), ns3::dsdv::RoutingProtocol::NotifyInterfaceUp(), ns3::aodv::RoutingProtocol::NotifyRemoveAddress(), ns3::aodv::RoutingProtocol::SetIpv4(), and ns3::dsdv::RoutingProtocol::SetIpv4().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStopEvent()

EventId ns3::Simulator::GetStopEvent ( )
static

Returns the Stop Event, or an invalid event if the simulation does not have a scheduled stop time.

Returns
The stop EventId.

Definition at line 191 of file simulator.cc.

References m_stopEvent.

◆ GetSystemId()

uint32_t ns3::Simulator::GetSystemId ( )
static

Get the system id of this simulator.

The system id is the identifier for this simulator instance in a distributed simulation. For MPI this is the MPI rank.

Returns
The system id for this simulator.

Definition at line 319 of file simulator.cc.

References ns3::GetImpl(), ns3::SimulatorImpl::GetSystemId(), NS_LOG_FUNCTION_NOARGS, and ns3::PeekImpl().

Referenced by ns3::GlobalRouteManagerImpl::InitializeRoutes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsExpired()

bool ns3::Simulator::IsExpired ( const EventId & id)
static

Check if an event has already run or been cancelled.

This method has O(1) complexity. Note that it is not possible to test for the expiration of events which were scheduled for the "destroy" time. Doing so will result in a program error (crash). An event is said to "expire" when it starts being executed, which means that if the code executed by the event calls this function, it will get true.

Parameters
[in]idThe event to test for expiration.
Returns
true if the event has expired, false otherwise.

Definition at line 284 of file simulator.cc.

References ns3::GetImpl(), ns3::SimulatorImpl::IsExpired(), and ns3::PeekImpl().

Referenced by ns3::ThreeGppHttpClient::CancelAllPendingEvents(), ns3::ThreeGppHttpServerTxBuffer::CloseAllSockets(), ns3::ThreeGppHttpServerTxBuffer::CloseSocket(), ns3::EventId::IsExpired(), and ns3::ThreeGppHttpServerTxBuffer::RemoveSocket().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsFinished()

bool ns3::Simulator::IsFinished ( )
static

Check if the simulation should finish.

Reasons to finish are because there are no more events lefts to be scheduled, or if simulation time has already reached the "stop time" (see Simulator::Stop()).

Returns
true if no more events or stop time reached.

Definition at line 160 of file simulator.cc.

References ns3::GetImpl(), ns3::SimulatorImpl::IsFinished(), and NS_LOG_FUNCTION_NOARGS.

Referenced by ns3::ThreeGppHttpClient::DoDispose(), ns3::ThreeGppHttpServer::DoDispose(), GraphBattery1(), GraphBattery2(), GraphBattery3(), GraphBattery4(), GraphBattery5(), ns3::AnimationInterface::MobilityAutoCheck(), PrintCellInfo(), visualizer.core.SimulationThread::run(), ns3::energy::GenericBatteryModel::UpdateEnergySource(), ns3::energy::LiIonEnergySource::UpdateEnergySource(), ns3::energy::RvBatteryModel::UpdateEnergySource(), and ns3::energy::BasicEnergyHarvester::UpdateHarvestedPower().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Now()

Time ns3::Simulator::Now ( )
static

Return the current simulation virtual time.

Returns
The current virtual time.

Definition at line 197 of file simulator.cc.

References ns3::GetImpl(), and ns3::SimulatorImpl::Now().

Referenced by ns3::LteUePhy::LteUePhy(), ns3::energy::RvBatteryModel::RvBatteryModel(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(), ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(), ns3::SixLowPanNetDevice::AddContext(), ns3::lorawan::LogicalLoraChannelHelper::AddEvent(), ns3::dsr::DsrRouteCache::AddNeighbor(), ns3::flame::FlameRtable::AddPath(), ns3::dot11s::HwmpRtable::AddPrecursor(), ns3::dot11s::HwmpRtable::AddProactivePath(), ns3::dot11s::HwmpRtable::AddReactivePath(), ns3::LteEnbRrc::AddUeMeasReportConfig(), ns3::WaypointMobilityModel::AddWaypoint(), ns3::TcpBbr::AdvanceCyclePhase(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::AsciiLrWpanMacTransmitSinkWithContext(), ns3::AsciiLrWpanMacTransmitSinkWithoutContext(), ns3::AsciiPhyReceiveSinkWithContext(), ns3::AsciiPhyReceiveSinkWithoutContext(), ns3::AsciiPhyRxOkEvent(), ns3::AsciiPhyTransmitSinkWithContext(), ns3::AsciiPhyTransmitSinkWithoutContext(), ns3::AsciiPhyTxEvent(), ns3::WimaxHelper::AsciiRxEvent(), ns3::WimaxHelper::AsciiTxEvent(), ns3::UanMacRc::Associate(), AssociateConfirm(), ns3::UanMacRc::AssociateTimeout(), AssociationLog(), ns3::olsr::RoutingProtocol::AssociationTupleTimerExpire(), BackoffGenerationTest::BackoffGenerated(), EmlsrUlTxopTest::BackoffGenerated(), BackoffTrace(), BeaconIndication(), ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), ns3::BSSchedulerRtps::BSSchedulerUGSConnection(), TcpBytesInFlightTest::BytesInFlightTrace(), BytesInQueueTrace(), ns3::ThreeGppSpectrumPropagationLossModel::CalcBeamformingGain(), Issue211Test::CalcThroughput(), ns3::BandwidthManager::CalculateAllocationSize(), ns3::WifiRemoteStationInfo::CalculateAveragingCoefficient(), ns3::energy::BasicEnergyHarvester::CalculateHarvestedPower(), ns3::InterferenceHelper::CalculateMuMimoPowerW(), ns3::InterferenceHelper::CalculateNoiseInterferenceW(), ns3::energy::BasicEnergySource::CalculateRemainingEnergy(), ns3::energy::GenericBatteryModel::CalculateRemainingEnergy(), ns3::energy::LiIonEnergySource::CalculateRemainingEnergy(), ns3::TcpSocketBase::CalculateRttSample(), CalculateThroughput(), ns3::PyViz::CallbackStopSimulation(), ns3::dsr::DsrRouting::CallCancelPacketTimer(), ns3::OnOffApplication::CancelEvents(), Bench::Cb(), ChangeSignalAndReportRate(), ns3::AcousticModemEnergyModel::ChangeState(), ns3::lorawan::LoraRadioEnergyModel::ChangeState(), ns3::WifiRadioEnergyModel::ChangeState(), ns3::lrwpan::LrWpanPhy::ChangeTrxState(), ns3::ThreeGppChannelModel::ChannelParamsNeedsUpdate(), TestUlOfdmaPhyTransmission::CheckApRxEnd(), TestUlOfdmaPhyTransmission::CheckApRxStart(), EmlsrDlTxopTest::CheckBlockAck(), EmlsrUlTxopTest::CheckBlockAck(), ns3::UplinkSchedulerMBQoS::CheckDeadline(), ns3::FlowMonitor::CheckForLostPackets(), ns3::lrwpan::LrWpanPhy::CheckInterference(), WifiPhyCcaIndicationTest::CheckLastCcaBusyNotification(), TestUlOfdmaPhyTransmission::CheckNonOfdmaRxPower(), TestUlOfdmaPhyTransmission::CheckOfdmaRxPower(), TestInterBssConstantObssPdAlgo::CheckPhyDropReasons(), TestAmpduReception::CheckPhyState(), TestInterBssConstantObssPdAlgo::CheckPhyState(), EmlsrCcaBusyTest::CheckPoint1(), EmlsrCcaBusyTest::CheckPoint2(), EmlsrCcaBusyTest::CheckPoint3(), EmlsrDlTxopTest::CheckQosFrames(), CheckQueueDiscSize(), CheckQueueSize(), CheckQueueSize(), CheckQueueSize(), ns3::dsr::DsrRouting::CheckSendBuffer(), CheckT1QueueSize(), CheckT2QueueSize(), DsdvManetExample::CheckThroughput(), Experiment::CheckThroughput(), RoutingExperiment::CheckThroughput(), ns3::RraaWifiManager::CheckTimeout(), ns3::RrpaaWifiManager::CheckTimeout(), TestUlOfdmaPpduUid::CheckUid(), ns3::lorawan::LoraInterferenceHelper::CleanOldEvents(), ns3::dsr::DsrNetworkQueue::Cleanup(), ns3::ServiceFlow::CleanUpQueue(), ns3::QosFrameExchangeManager::ClearTxopHolderIfNeeded(), ns3::CobaltQueueDisc::CobaltShouldDrop(), ns3::CoDelGetTime(), CommStatusIndication(), ns3::DynamicQueueLimits::Completed(), ComputeSnr(), ComputeSnr(), ComputeSnr(), ns3::TcpBbr::CongestionStateSet(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::ConnectionReconfigurationEnb(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::ConnectionReconfigurationUe(), ns3::TcpTxBuffer::CopyFromSequence(), Emitter::Count(), ns3::UplinkSchedulerMBQoS::CountSymbolsJobs(), CourseChange(), CourseChange(), CourseChange(), Ns2MobilityHelperTest::CourseChange(), CourseChangeCallback(), WaypointLazyNotifyFalse::CourseChangeCallback(), WaypointLazyNotifyTrue::CourseChangeCallback(), WaypointMobilityModelAddWaypointTest::CourseChangeCallback(), WaypointMobilityModelNotifyTest::CourseChangeCallback(), ns3::MobilityHelper::CourseChanged(), ns3::LteUePhy::CreateDlCqiFeedbackMessage(), ns3::BlockAckManager::CreateOriginatorAgreement(), ns3::AnimationInterface::CsmaPhyRxEndTrace(), ns3::AnimationInterface::CsmaPhyTxBeginTrace(), ns3::AnimationInterface::CsmaPhyTxEndTrace(), CubicCwndTracer(), CwndChange(), CwndChange(), CwndChange(), CwndChange(), ns3::TcpBbr::CwndEvent(), CwndTrace(), CwndTracer(), CwndTracer(), CwndTracer(), Ns3TcpLossTestCase::CwndTracer(), CwTrace(), LrWpanDataIfsTestCase::DataConfirm(), LrWpanAckTestCase::DataConfirmDev0(), LrWpanAckTestCase::DataConfirmDev1(), DataIndication(), DataIndicationCoordinator(), LrWpanSlottedCsmacaTestCase::DataIndicationCoordinator(), LrWpanAckTestCase::DataIndicationDev0(), LrWpanAckTestCase::DataIndicationDev1(), LrWpanDataIfsTestCase::DataReceivedDev0(), LrWpanDataIfsTestCase::DataReceivedDev1(), DataSentMacConfirm(), ns3::ThompsonSamplingWifiManager::Decay(), ns3::SixLowPanNetDevice::DecompressLowPanIphc(), ns3::DefaultTimePrinter(), ns3::dot11s::HwmpRtable::DeleteProactivePath(), CobaltQueueDiscCeThresholdTest::Dequeue(), CobaltQueueDiscMarkTest::Dequeue(), CoDelQueueDiscBasicDrop::Dequeue(), CoDelQueueDiscBasicMark::Dequeue(), ns3::TcpSocketBase::Destroy(), ns3::TcpSocketBase::Destroy6(), ns3::AnimationInterface::DevTxTrace(), ns3::ChannelAccessManager::DisableEdcaFor(), DisassociationLog(), LteFrAreaTestCase::DlDataRxStart(), ns3::RadioBearerStatsCalculator::DlRxPdu(), CarrierAggregationTestCase::DlScheduling(), LteCqiGenerationDlPowerControlTestCase::DlScheduling(), LteCqiGenerationTestCase::DlScheduling(), LteInterferenceTestCase::DlScheduling(), LteLinkAdaptationTestCase::DlScheduling(), LtePathlossModelSystemTestCase::DlScheduling(), ns3::MacStatsCalculator::DlScheduling(), ns3::RadioBearerStatsCalculator::DlTxPdu(), ns3::LteEnbMac::DoAllocateNcRaPreamble(), ns3::TraceFadingLossModel::DoCalcRxPowerSpectralDensity(), TestDlMuMimoPhyTransmission::DoCheckPhyState(), TestDlOfdmaPhyPuncturing::DoCheckPhyState(), TestDlOfdmaPhyTransmission::DoCheckPhyState(), TestPhyPaddingExclusion::DoCheckPhyState(), TestUlMuMimoPhyTransmission::DoCheckPhyState(), TestUlOfdmaPhyTransmission::DoCheckPhyState(), WifiPhyCcaIndicationTest::DoCheckPhyState(), WifiPhyReceptionTest::DoCheckPhyState(), ns3::AmrrWifiManager::DoCreateStation(), ns3::MinstrelHtWifiManager::DoCreateStation(), ns3::MinstrelWifiManager::DoCreateStation(), ns3::OnoeWifiManager::DoCreateStation(), ns3::CqaFfMacScheduler::DoCschedLcConfigReq(), ns3::FdBetFfMacScheduler::DoCschedLcConfigReq(), ns3::FdTbfqFfMacScheduler::DoCschedLcConfigReq(), ns3::PfFfMacScheduler::DoCschedLcConfigReq(), ns3::PssFfMacScheduler::DoCschedLcConfigReq(), ns3::TdBetFfMacScheduler::DoCschedLcConfigReq(), ns3::TdTbfqFfMacScheduler::DoCschedLcConfigReq(), ns3::CoDelQueueDisc::DoDequeue(), ns3::RedQueueDisc::DoDequeue(), ns3::TbfQueueDisc::DoDequeue(), ns3::HePhy::DoEndReceivePayload(), ns3::PhyEntity::DoEndReceivePayload(), ns3::RedQueueDisc::DoEnqueue(), ns3::WifiMacQueue::DoEnqueue(), ns3::WifiMacQueueContainer::DoExtractExpiredMpdus(), ns3::TcpSocketBase::DoForwardUp(), ThreeGppAntennaSetupChangedTest::DoGetChannel(), ThreeGppChannelMatrixUpdateTest::DoGetChannel(), ns3::AdvancedEmlsrManager::DoGetDelayUntilAccessRequest(), ns3::ConstantAccelerationMobilityModel::DoGetPosition(), ns3::ConstantAccelerationMobilityModel::DoGetVelocity(), ns3::ChannelAccessManager::DoGrantDcfAccess(), ns3::energy::BasicEnergyHarvester::DoInitialize(), ns3::MeshWifiInterfaceMac::DoInitialize(), ns3::AdvancedEmlsrManager::DoNotifyTxopEnd(), ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::LteRlcSm::DoNotifyTxOpportunity(), ns3::LteRlcUm::DoNotifyTxOpportunity(), ns3::PyViz::DoPause(), ns3::lorawan::LoraHelper::DoPrintDeviceStatus(), ns3::lorawan::LoraHelper::DoPrintGlobalPerformance(), ns3::lorawan::LoraHelper::DoPrintPhyPerformance(), ns3::lorawan::LoraHelper::DoPrintSimulationTime(), ns3::LteTestRrc::DoReceivePdcpSdu(), ns3::LtePdcp::DoReceivePdu(), ns3::LteRlcAm::DoReceivePdu(), ns3::LteRlcSm::DoReceivePdu(), ns3::LteRlcUm::DoReceivePdu(), ns3::MinstrelHtWifiManager::DoReportAmpduTxStatus(), ns3::LteRlcAm::DoReportBufferStatus(), ns3::LteRlcTm::DoReportBufferStatus(), ns3::LteRlcUm::DoReportBufferStatus(), ns3::MinstrelHtWifiManager::DoReportDataOk(), ns3::MinstrelHtWifiManager::DoReportFinalDataFailed(), ns3::LteUePhy::DoReset(), ns3::HePhy::DoResetReceive(), ns3::PhyEntity::DoResetReceive(), ns3::ChannelAccessManager::DoRestartAccessTimeoutIfNeeded(), BasicEnergyHarvesterTestCase::DoRun(), LiIonEnergyTestCase::DoRun(), LrWpanAckTestCase::DoRun(), ns3::tests::EventGarbageCollectorTestCase::DoRun(), ns3::FdTbfqFfMacScheduler::DoSchedDlTriggerReq(), DoSchedule(), DoScheduleNow(), ns3::lorawan::EndDeviceLorawanMac::DoSend(), ns3::ConstantAccelerationMobilityModel::DoSetPosition(), ns3::WaypointMobilityModel::DoSetPosition(), ns3::LteEnbPhy::DoSetSrsConfigurationIndex(), ns3::LteUePhy::DoSetSrsConfigurationIndex(), ns3::LteUeMac::DoSubframeIndication(), ns3::WifiPhyStateHelper::DoSwitchFromRx(), ns3::LteRlcAm::DoTransmitPdcpPdu(), ns3::LteRlcTm::DoTransmitPdcpPdu(), ns3::LteRlcUm::DoTransmitPdcpPdu(), ns3::LtePdcp::DoTransmitPdcpSdu(), DropAtQueue(), DroppingStateTracer(), ns3::PhyEntity::DropPreambleEvent(), ns3::EhtFrameExchangeManager::DropReceivedIcf(), ns3::olsr::RoutingProtocol::Dump(), ns3::olsr::RoutingProtocol::DupTupleTimerExpire(), ns3::TcpOptionTS::ElapsedTimeFromTsValue(), Emitter::Emit(), EmlsrDlTxopTest::EnableEmlsrMode(), LteHandoverDelayTestCase::EnbHandoverEndOkCallback(), LteHandoverDelayTestCase::EnbHandoverStartCallback(), EnbRrcTimeout(), ns3::lrwpan::LrWpanPhy::EndEd(), ns3::LteEnbPhy::EndFrame(), ns3::PhyEntity::EndPreambleDetectionPeriod(), ns3::PhyEntity::EndReceiveField(), ns3::PhyEntity::EndReceivePayload(), ns3::lrwpan::LrWpanPhy::EndRx(), ns3::LteSpectrumPhy::EndRxData(), ns3::LteEnbPhy::EndSubFrame(), ns3::dsr::DsrNetworkQueue::Enqueue(), ns3::QueueDisc::Enqueue(), ns3::UanMacCw::Enqueue(), ns3::WimaxMacQueue::Enqueue(), ns3::lrwpan::LrWpanMac::EnqueueInd(), ns3::RedQueueDisc::Estimator(), anonymous_namespace{sample-show-progress.cc}::Hold::Event(), EveryDropTracer(), anonymous_namespace{sample-simulator.cc}::ExampleFunction(), ns3::tests::WatchdogTestCase::Expire(), ns3::Watchdog::Expire(), ns3::WifiTxTimer::Expire(), ns3::tests::TrickleTimerTestCase::ExpireTimer(), ns3::dsr::DsrGraReply::FindAndUpdate(), ns3::dsr::DsrRreqTable::FindAndUpdate(), ns3::SixLowPanNetDevice::FindMulticastCompressionContext(), ns3::SixLowPanNetDevice::FindUnicastCompressionContext(), ns3::ThreeGppHttpClient::FinishReceivingPage(), ns3::ArpCache::Flush(), ns3::olsr::RoutingProtocol::ForwardDefault(), ns3::dsr::DsrRouting::ForwardErrPacket(), ns3::ThreeGppChannelModel::GenerateChannelParameters(), ns3::LteUePhy::GenerateCqiRsrpRsrq(), ns3::LteEnbPhy::GenerateCtrlCqiReport(), GenerateTraffic(), ns3::AnimationInterface::GenericWirelessRxTrace(), ns3::AnimationInterface::GenericWirelessTxTrace(), ns3::ChannelAccessManager::GetAccessGrantStart(), ns3::lorawan::LogicalLoraChannelHelper::GetAggregatedWaitingTime(), EmlsrOperationsTestBase::GetApplication(), MultiLinkOperationsTestBase::GetApplication(), ns3::ApWifiMac::GetBufferStatus(), ns3::ThreeGppChannelConditionModel::GetChannelCondition(), ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(), ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(), ns3::energy::GenericBatteryModel::GetChargeVoltage(), ns3::WifiTxTimer::GetDelayLeft(), ns3::WifiPhyStateHelper::GetDelayUntilIdle(), ns3::InterferenceHelper::GetEnergyDuration(), ns3::aodv::Neighbors::GetExpireTime(), ns3::aodv::QueueEntry::GetExpireTime(), ns3::dsdv::QueueEntry::GetExpireTime(), ns3::dsr::DsrErrorBuffEntry::GetExpireTime(), ns3::dsr::DsrMaintainBuffEntry::GetExpireTime(), ns3::dsr::DsrPassiveBuffEntry::GetExpireTime(), ns3::dsr::DsrReceivedRreqEntry::GetExpireTime(), ns3::dsr::DsrRouteCache::GetExpireTime(), ns3::dsr::DsrRouteCacheEntry::GetExpireTime(), ns3::dsr::DsrSendBuffEntry::GetExpireTime(), ns3::WifiPhyStateHelper::GetLastTime(), ns3::BridgeNetDevice::GetLearnedState(), ns3::aodv::RoutingTableEntry::GetLifeTime(), ns3::dsdv::RoutingTableEntry::GetLifeTime(), ns3::dsr::DsrLinkStab::GetLinkStability(), ns3::Node::GetLocalTime(), ns3::TidToLinkMapping::GetMappingSwitchTime(), ns3::ThreeGppChannelModel::GetNewChannel(), ns3::lorawan::ClassAEndDeviceLorawanMac::GetNextClassTransmissionDelay(), ns3::dsr::DsrNodeStab::GetNodeStability(), ns3::FrameExchangeManager::GetOngoingRxInfo(), ns3::PyViz::GetPauseMessages(), ns3::ChannelAccessManager::GetPer20MHzBusy(), ns3::dot11s::HwmpRtable::GetPrecursors(), ns3::WifiPhyHelper::GetRadiotapHeader(), ns3::QosTxop::GetRemainingTxop(), LenaMimoTestCase::GetRlcBufferSample(), ns3::HePhy::GetRxPpduFromTxPpdu(), GetSetTRXStateConfirm(), ns3::TcpHtcp::GetSsThresh(), ns3::WifiPhyStateHelper::GetState(), ns3::lrwpan::LrWpanCsmaCa::GetTimeLeftInCap(), ns3::SubscriberStationNetDevice::GetTimeToAllocation(), ns3::lrwpan::LrWpanCsmaCa::GetTimeToNextSlot(), ns3::energy::SimpleDeviceEnergyModel::GetTotalEnergyConsumption(), ns3::WifiRadioEnergyModel::GetTotalEnergyConsumption(), ns3::energy::GenericBatteryModel::GetVoltage(), ns3::lorawan::LogicalLoraChannelHelper::GetWaitingTime(), GoodputSampling(), GraphBattery1(), GraphBattery2(), GraphBattery4(), GraphBattery5(), anonymous_namespace{sample-simulator.cc}::MyModel::HandleEvent(), ns3::TcpBbr::HandleProbeRTT(), Ipv4DynamicGlobalRoutingTestCase::HandleRead(), ns3::PacketSink::HandleRead(), ns3::PacketSocketServer::HandleRead(), ns3::Radvd::HandleRead(), ns3::UdpEchoClient::HandleRead(), ns3::UdpEchoServer::HandleRead(), ns3::UdpServer::HandleRead(), ns3::Icmpv6L4Protocol::HandleRsTimeout(), ns3::PhyEntity::HandleRxPpduWithSameContent(), ns3::Ipv4ClickRouting::HandleScheduleFromClick(), ns3::Ipv4L3Protocol::HandleTimeout(), ns3::Ipv6ExtensionFragment::HandleTimeout(), ns3::SixLowPanNetDevice::HandleTimeout(), ns3::ArpCache::HandleWaitReplyTimeout(), LteHandoverTargetTestCase::HandoverStartCallback(), HarvestedPower(), ns3::aodv::RoutingProtocol::HelloTimerExpire(), ns3::TcpCubic::HystartReset(), ns3::TcpCubic::HystartUpdate(), ns3::olsr::RoutingProtocol::IfaceAssocTupleTimerExpire(), LrWpanDataIfsTestCase::IfsEnd(), LrWpanSlottedCsmacaTestCase::IncomingSuperframeStatus(), InFlightTracer(), ns3::ChannelAccessManager::InitLastBusyStructs(), ns3::WifiMacQueue::Insert(), ns3::lorawan::EndDeviceStatus::InsertReceivedPacket(), ns3::aodv::RoutingTableEntry::Invalidate(), ns3::dsr::DsrRouteCacheEntry::Invalidate(), ns3::Ipv4L3ProtocolDropSinkWithContext(), ns3::Ipv4L3ProtocolDropSinkWithoutContext(), ns3::Ipv4L3ProtocolRxSinkWithContext(), ns3::Ipv4L3ProtocolRxSinkWithoutContext(), ns3::Ipv4L3ProtocolRxTxSink(), ns3::Ipv4L3ProtocolTxSinkWithContext(), ns3::Ipv4L3ProtocolTxSinkWithoutContext(), Ns3TcpLossTestCase::Ipv4L3Tx(), Ns3TcpStateTestCase::Ipv4L3Tx(), ns3::Ipv6L3ProtocolDropSinkWithContext(), ns3::Ipv6L3ProtocolDropSinkWithoutContext(), ns3::Ipv6L3ProtocolRxSinkWithContext(), ns3::Ipv6L3ProtocolRxSinkWithoutContext(), ns3::Ipv6L3ProtocolRxTxSink(), ns3::Ipv6L3ProtocolTxSinkWithContext(), ns3::Ipv6L3ProtocolTxSinkWithoutContext(), ns3::lorawan::GatewayStatus::IsAvailableForTransmission(), ns3::ChannelAccessManager::IsBusy(), ns3::lorawan::LoraInterferenceHelper::IsDestroyedByInterference(), ns3::aodv::IdCache::IsDuplicate(), ns3::Probe::IsEnabled(), ns3::ArpCache::Entry::IsExpired(), ns3::FrameCaptureModel::IsInCaptureWindow(), ns3::AnimationInterface::IsInTimeWindow(), ns3::TcpBbr::IsNextCyclePhase(), OfdmaAckSequenceTest::L7Receive(), ns3::BridgeNetDevice::Learn(), LimitsTrace(), ns3::olsr::RoutingProtocol::LinkSensing(), ns3::DhcpClient::LinkStateHandler(), ns3::olsr::RoutingProtocol::LinkTupleAdded(), ns3::olsr::RoutingProtocol::LinkTupleTimerExpire(), ns3::olsr::RoutingProtocol::LinkTupleUpdated(), ns3::TraceFadingLossModel::LoadTrace(), ns3::WifiPhyStateHelper::LogPreviousIdleAndCcaBusyStates(), ns3::flame::FlameRtable::Lookup(), ns3::dot11s::HwmpRtable::LookupProactive(), ns3::dot11s::HwmpRtable::LookupProactiveExpired(), ns3::dot11s::HwmpRtable::LookupReactive(), ns3::dot11s::HwmpRtable::LookupReactiveExpired(), ns3::AnimationInterface::LrWpanPhyRxBeginTrace(), ns3::AnimationInterface::LrWpanPhyTxBeginTrace(), ns3::AnimationInterface::LteSpectrumPhyRxStart(), ns3::AnimationInterface::LteSpectrumPhyTxStart(), ns3::lorawan::LoraPacketTracker::MacGwReceptionCallback(), MacRxTrace(), ns3::lorawan::LoraPacketTracker::MacTransmissionCallback(), MacTxTrace(), ns3::dsr::DsrRreqTable::MarkLinkAsUnidirectional(), BackoffGenerationTest::MissedBackoff(), ns3::StaWifiMac::MissedBeacons(), modify(), MoveNode(), ns3::olsr::RoutingProtocol::MprSelTupleTimerExpire(), ns3::QosTxop::MuEdcaTimerRunning(), ns3::FrameExchangeManager::NavResetTimeout(), ns3::olsr::RoutingProtocol::Nb2hopTupleTimerExpire(), ns3::ChannelAccessManager::NeedBackoffUponAccess(), ns3::BlockAckManager::NeedBarRetransmission(), ns3::olsr::RoutingProtocol::NeighborLoss(), ns3::TcpSocketBase::NewAck(), JakesPropagationExample::Next(), NextRxTracer(), NextTxTracer(), ChannelAccessManagerTest< TxopType >::NotifyAccessGranted(), ns3::ChannelAccessManager::NotifyAckTimeoutResetNow(), ns3::ChannelAccessManager::NotifyAckTimeoutStartNow(), ns3::Ipv4GlobalRouting::NotifyAddAddress(), ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(), CcaTestPhyListener::NotifyCcaBusyStart(), TestPhyListener::NotifyCcaBusyStart(), ns3::ChannelAccessManager::NotifyCcaBusyStartNow(), ns3::QosTxop::NotifyChannelAccessed(), ns3::EhtFrameExchangeManager::NotifyChannelReleased(), ns3::QosTxop::NotifyChannelReleased(), ChannelAccessManagerTest< TxopType >::NotifyChannelSwitching(), NotifyConnectionEstablishedEnb(), NotifyConnectionEstablishedEnb(), NotifyConnectionEstablishedUe(), NotifyConnectionReleaseAtEnodeB(), NotifyConnectionTimeoutUe(), ns3::ChannelAccessManager::NotifyCtsTimeoutResetNow(), ns3::ChannelAccessManager::NotifyCtsTimeoutStartNow(), ns3::BlockAckManager::NotifyGotAck(), ns3::BlockAckManager::NotifyGotBlockAck(), NotifyHandoverEndOkEnb(), NotifyHandoverEndOkUe(), NotifyHandoverFailure(), NotifyHandoverStartEnb(), NotifyHandoverStartUe(), ns3::Ipv4GlobalRouting::NotifyInterfaceDown(), ns3::Ipv4GlobalRouting::NotifyInterfaceUp(), ns3::PhyEntity::NotifyInterferenceRxEndAndClear(), ns3::DefaultEmlsrManager::NotifyMainPhySwitch(), ns3::BlockAckManager::NotifyMissedAck(), ns3::BlockAckManager::NotifyMissedBlockAck(), ns3::ChannelAccessManager::NotifyNavResetNow(), ns3::ChannelAccessManager::NotifyNavStartNow(), ns3::BlockAckManager::NotifyOriginatorAgreementEstablished(), ns3::BlockAckManager::NotifyOriginatorAgreementNoReply(), ns3::BlockAckManager::NotifyOriginatorAgreementRejected(), ns3::BlockAckManager::NotifyOriginatorAgreementReset(), DcfImmediateAccessBroadcastTestCase::NotifyPhyTxBegin(), NotifyRandomAccessErrorUe(), NotifyRaResponseTimeoutUe(), ns3::Ipv4GlobalRouting::NotifyRemoveAddress(), OfdmaTestPhyListener::NotifyRxEndError(), ns3::ChannelAccessManager::NotifyRxEndErrorNow(), OfdmaTestPhyListener::NotifyRxEndOk(), ns3::ChannelAccessManager::NotifyRxEndOkNow(), OfdmaTestPhyListener::NotifyRxStart(), ns3::ChannelAccessManager::NotifyRxStartNow(), ns3::ChannelAccessManager::NotifySwitchingStartNow(), ns3::ChannelAccessManager::NotifyTxStartNow(), ns3::Now(), ns3::TcpOptionTS::NowToTsValue(), ns3::CoDelQueueDisc::OkToDrop(), ns3::aodv::CloseNeighbor::operator()(), ns3::aodv::IdCache::IsExpired::operator()(), ns3::dsr::CloseNeighbor::operator()(), ns3::dsr::DsrGraReply::IsExpired::operator()(), ns3::dsr::DsrRreqTable::IsExpired::operator()(), OrphanIndication(), PacingRateTracer(), PacketDequeue(), ns3::QueueDisc::PacketDequeued(), ns3::dsr::DsrRouting::PacketNewRoute(), ns3::PcapSniffLrWpan(), ns3::WifiPhyHelper::PcapSniffRxEvent(), ns3::WifiPhyHelper::PcapSniffTxEvent(), ns3::PcapSniffTxRxEvent(), ns3::lrwpan::LrWpanMac::PdDataConfirm(), ns3::TcpSocketBase::PersistTimeout(), LrWpanDataIfsTestCase::PhyDataRxStart(), ns3::WifiPhyRxTraceSink::PhyPpduDrop(), LrWpanCcaTestCase::PhyRxBegin(), PhyRxDoneTrace(), LrWpanCcaTestCase::PhyRxDrop(), PhyRxDropTrace(), LrWpanCcaTestCase::PhyRxEnd(), ns3::WifiPhyRxTraceSink::PhyRxEnd(), PhyRxErrorTrace(), PhyRxOkTrace(), PhyRxPayloadTrace(), PhyRxTrace(), ns3::WifiPhyRxTraceSink::PhySignalArrival(), ns3::WifiPhyRxTraceSink::PhySignalTransmission(), PhyStateTrace(), PhySyncDetection(), LrWpanCcaTestCase::PhyTxBegin(), PhyTxDoneTrace(), LrWpanCcaTestCase::PhyTxEnd(), PhyTxTrace(), ns3::QosFrameExchangeManager::PifsRecovery(), ns3::Watchdog::Ping(), ns3::TcpCubic::PktsAcked(), ns3::TcpHtcp::PktsAcked(), ns3::TcpLp::PktsAcked(), LrWpanCcaTestCase::PlmeCcaConfirm(), ns3::lrwpan::LrWpanPhy::PlmeEdRequest(), PollConfirm(), ns3::olsr::RoutingProtocol::PopulateMprSelectorSet(), ns3::olsr::RoutingProtocol::PopulateTwoHopNeighborSet(), PowerCallback(), ns3::DelayJitterEstimation::PrepareTx(), ns3::aodv::RoutingTableEntry::Print(), ns3::dsdv::RoutingTableEntry::Print(), ns3::dsr::DsrRouteCacheEntry::Print(), ns3::WifiMpdu::Print(), ns3::Ipv4RoutingHelper::PrintArpCache(), ns3::Ipv4RoutingHelper::PrintArpCacheEvery(), PrintCellInfo(), PrintIntermediateTput(), IpAddressHelper::PrintIpAddresses(), ns3::Ipv6RoutingHelper::PrintNdiscCache(), ns3::Ipv6RoutingHelper::PrintNdiscCacheEvery(), ns3::lrwpan::LrWpanMac::PrintPendingTxQueue(), PrintPosition(), PrintProgress(), PrintReceivedPacket(), PrintReceivedPacket(), PrintReceivedPacket(), UanExperiment::PrintReceivedPacket(), ns3::Ping::PrintReport(), PrintThroughput(), ns3::lrwpan::LrWpanMac::PrintTxQueue(), ns3::UplinkSchedulerMBQoS::ProcessBandwidthRequest(), ns3::olsr::RoutingProtocol::ProcessHello(), ns3::olsr::RoutingProtocol::ProcessHna(), ns3::olsr::RoutingProtocol::ProcessMid(), ns3::BSLinkManager::ProcessRangingRequest(), ns3::HePhy::ProcessSigA(), ns3::olsr::RoutingProtocol::ProcessTc(), ThreeGppHttpObjectTestCase::ProgressCallback(), ns3::dsr::DsrRouting::PromiscReceive(), WifiFilsFrameTest::PsduTxCallback(), LteUplinkPowerControlTestCase::PucchTxPowerTrace(), ns3::lrwpan::LrWpanMac::PurgeInd(), ns3::AnimationInterface::PurgePendingPackets(), LteUplinkPowerControlTestCase::PuschTxPowerTrace(), RadioLinkFailure(), LteRadioLinkFailureTestCase::RadioLinkFailureCallback(), anonymous_namespace{sample-simulator.cc}::RandomFunction(), ns3::BaseStationNetDevice::RangingOppStart(), RateCallback(), TcpRateLinuxWithSocketsTest::RateUpdatedTrace(), ns3::dot11s::HwmpProtocol::ReactivePathResolved(), Bug730TestCase::Receive(), ns3::MeshWifiInterfaceMac::Receive(), ns3::Ping::Receive(), ns3::UanTransducerHd::Receive(), ns3::V4TraceRoute::Receive(), Receiver::Receive(), ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(), ns3::lrwpan::LrWpanMac::ReceiveBeacon(), ns3::StaWifiMac::ReceiveBeacon(), ns3::TcpSocketBase::ReceivedData(), ns3::ThreeGppHttpServer::ReceivedDataCallback(), ns3::FrameExchangeManager::ReceivedMacHdr(), ns3::ThreeGppHttpClient::ReceiveEmbeddedObject(), ns3::OpenFlowSwitchNetDevice::ReceiveFromDevice(), ns3::LteUePhy::ReceiveLteControlMessageList(), ns3::ThreeGppHttpClient::ReceiveMainObject(), ns3::GrantedTimeWindowMpiInterface::ReceiveMessages(), ns3::NullMessageMpiInterface::ReceiveMessages(), ns3::EhtFrameExchangeManager::ReceiveMpdu(), DsdvManetExample::ReceivePacket(), ns3::UanMacRcGw::ReceivePacket(), LrWpanPlmeAndPdInterfaceTestCase::ReceivePdDataIndication(), ReceivePdDataIndication(), ns3::DelayJitterEstimation::RecordRx(), ns3::dsdv::RoutingProtocol::RecvDsdv(), LteUeMeasurementsTestCase::RecvMeasurementReport(), LteUeMeasurementsHandoverTestCase::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase1::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase2::RecvMeasurementReportCallback(), LteUeMeasurementsPiecewiseTestCase3::RecvMeasurementReportCallback(), ns3::olsr::RoutingProtocol::RecvOlsr(), ns3::aodv::RoutingProtocol::RecvRequest(), RemainingEnergy(), RemainingEnergyTrace(), ns3::Ipv4L3Protocol::RemoveDuplicates(), ns3::olsr::RoutingProtocol::RemoveLinkTuple(), ns3::flame::FlameProtocol::RemoveRoutingStuff(), ns3::SixLowPanNetDevice::RenewContext(), anonymous_namespace{sample-log-time-format.cc}::ReplacementTimePrinter(), ns3::MeshHelper::Report(), ns3::PhyStatsCalculator::ReportCurrentCellRsrpSinr(), ns3::FlowMonitor::ReportFirstTx(), ns3::FlowMonitor::ReportForwarding(), ns3::PhyStatsCalculator::ReportInterference(), ns3::FlowMonitor::ReportLastRx(), ns3::WifiRemoteStationManager::ReportRxOk(), PingTestCase::ReportTraceSink(), LteUeMeasurementsTestCase::ReportUeMeasurements(), ns3::LteUePhy::ReportUeMeasurements(), ns3::PhyStatsCalculator::ReportUeSinr(), ns3::ThreeGppHttpClient::RequestEmbeddedObject(), ns3::ThreeGppHttpClient::RequestMainObject(), ns3::flame::FlameProtocol::RequestRoute(), ns3::lorawan::LoraPacketTracker::RequiredTransmissionsCallback(), ns3::WifiTxTimer::Reschedule(), SampleEmitter::Reschedule(), ns3::RadioBearerStatsCalculator::RescheduleEndEpoch(), ns3::DynamicQueueLimits::Reset(), ns3::FrameExchangeManager::Reset(), ns3::HeFrameExchangeManager::Reset(), ns3::ChannelAccessManager::ResetBackoff(), ns3::RraaWifiManager::ResetCountersBasic(), ns3::RrpaaWifiManager::ResetCountersBasic(), NetAnimExperiment::ResetData(), ns3::PhyEntity::ResetReceive(), ns3::ChannelAccessManager::ResetState(), ResetTrace(), ns3::ChannelAccessManager::ResizeLastBusyStructs(), ns3::StaWifiMac::RestartBeaconWatchdog(), ns3::dot11s::HwmpProtocol::RetryPathDiscovery(), ns3::TcpSocketBase::ReTxTimeout(), ns3::LteUePhy::RlfDetection(), ns3::olsr::RoutingProtocol::RoutingTableComputation(), RtoTracer(), ns3::UanMacRc::RtsTimeout(), RttTracer(), ns3::Ipv4ClickRouting::RunClickEvent(), LargestIdlePrimaryChannelTest::RunOne(), TcpSlowStartNormalTest::Rx(), TcpZeroWindowTest::Rx(), RxDrop(), RxDrop(), RxDrop(), TestUnsupportedBandwidthReception::RxDropped(), RxEvent(), TestUnsupportedBandwidthReception::RxFailure(), ns3::UanMacAloha::RxPacketError(), ns3::FrameExchangeManager::RxStartIndication(), TestUnsupportedBandwidthReception::RxSuccess(), RxTracer(), ns3::dsr::DsrRouting::SalvagePacket(), ns3::UanMacCw::SaveTimer(), ScanConfirm(), ScanConfirm(), ScanConfirm(), ScanConfirm(), ns3::RealtimeSimulatorImpl::Schedule(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::UanMacRc::ScheduleData(), TestUlOfdmaPhyTransmission::ScheduleTest(), WifiPhyCcaIndicationTest::ScheduleTest(), ScheduleWithContext(), ns3::BSSchedulerSimple::SelectConnection(), ns3::SSScheduler::SelectConnection(), TestMultiUserScheduler::SelectTxFormat(), EpsBearerTagUdpClient::Send(), ns3::dsr::DsrRouting::Send(), ns3::PacketSocketClient::Send(), ns3::Ping::Send(), ns3::Radvd::Send(), ns3::UdpClient::Send(), ns3::UdpEchoClient::Send(), ns3::V4TraceRoute::Send(), ns3::dsr::DsrRouting::SendAck(), Bug772ChainTest::SendData(), FlameRegressionTest::SendData(), HwmpProactiveRegressionTest::SendData(), HwmpReactiveRegressionTest::SendData(), HwmpSimplestRegressionTest::SendData(), ns3::BulkSendApplication::SendData(), HwmpDoRfRegressionTest::SendDataA(), HwmpDoRfRegressionTest::SendDataB(), HwmpDoRfRegressionTest::SendDataC(), ns3::TcpSocketBase::SendDataPacket(), ns3::TcpSocketCongestedRouter::SendDataPacket(), TcpDctcpCongestedRouter::SendDataPacket(), ns3::TcpSocketBase::SendEmptyPacket(), ns3::TcpSocketSmallAcks::SendEmptyPacket(), ns3::dsr::DsrRouting::SendGratuitousReply(), ns3::olsr::RoutingProtocol::SendHello(), ns3::dsr::DsrRouting::SendPacket(), ns3::OnOffApplication::SendPacket(), Sender::SendPacket(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), ChainRegressionTest::SendPing(), ns3::olsr::Bug780Test::SendPing(), SpectrumWifiPhyMultipleInterfacesTest::SendPpdu(), ns3::dsr::DsrRouting::SendReply(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::dsr::DsrRouting::SendRequest(), ns3::aodv::RoutingProtocol::SendRerrMessage(), ns3::aodv::RoutingProtocol::SendRerrWhenNoRouteToForward(), ns3::Icmpv6L4Protocol::SendRS(), ns3::UanMacRc::SendRts(), UanExperiment::SendSinglePacket(), UanExperiment::SendSinglePacket(), UanExperiment::SendSinglePacket(), TcpRateLinuxBasicTest::SendSkb(), ns3::dsr::DsrRouting::SendUnreachError(), ns3::FilsDiscHeader::Serialize(), ns3::MgtProbeResponseHeader::SerializeImpl(), ns3::ThreeGppHttpServer::ServeFromTxBuffer(), ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(), ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequestsBytes(), ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(), ns3::WifiTxTimer::Set(), ns3::TcpBbr::SetBbrState(), ns3::ApWifiMac::SetBufferStatus(), ns3::energy::SimpleDeviceEnergyModel::SetCurrentA(), ns3::aodv::QueueEntry::SetExpireTime(), ns3::dsdv::QueueEntry::SetExpireTime(), ns3::dsr::DsrErrorBuffEntry::SetExpireTime(), ns3::dsr::DsrMaintainBuffEntry::SetExpireTime(), ns3::dsr::DsrPassiveBuffEntry::SetExpireTime(), ns3::dsr::DsrReceivedRreqEntry::SetExpireTime(), ns3::dsr::DsrRouteCacheEntry::SetExpireTime(), ns3::dsr::DsrSendBuffEntry::SetExpireTime(), ns3::RemoteChannelBundle::SetGuaranteeTime(), ns3::aodv::RoutingTableEntry::SetLifeTime(), ns3::dsr::DsrLinkStab::SetLinkStability(), ns3::lorawan::LoraRadioEnergyModel::SetLoraRadioState(), ns3::TidToLinkMapping::SetMappingSwitchTime(), ns3::AcousticModemEnergyModel::SetMicroModemState(), ns3::dsr::DsrNodeStab::SetNodeStability(), ns3::ConstantVelocityHelper::SetPosition(), ns3::DhcpHeader::SetTime(), ns3::Ipv4L3Protocol::SetTimeout(), ns3::Ipv6ExtensionFragment::SetTimeout(), ns3::SixLowPanNetDevice::SetTimeout(), LteUplinkPowerControlTestCase::SetTpcConfiguration(), ns3::HePhy::SetTrigVector(), ns3::ChannelAccessManager::SetupPhyListener(), ns3::ConstantVelocityHelper::SetVelocity(), ns3::ConstantAccelerationMobilityModel::SetVelocityAndAcceleration(), ns3::WifiRadioEnergyModel::SetWifiRadioState(), ns3::MeshWifiInterfaceMac::ShiftTbtt(), ns3::dot11s::HwmpProtocol::ShouldSendPreq(), showPosition(), simclick_sim_command(), simclick_sim_send(), LteFrAreaTestCase::SimpleTeleportUe(), ns3::PyViz::SimulatorRunUntil(), ns3::TcpRateLinux::SkbDelivered(), TcpRateLinuxBasicTest::SkbDelivered(), ns3::TcpRateLinux::SkbSent(), SocketPrinter(), SocketSendTrace(), LteUplinkPowerControlTestCase::SrsTxPowerTrace(), SsThreshTracer(), SsThreshTracer(), anonymous_namespace{sample-simulator.cc}::MyModel::Start(), ns3::LteTestRrc::Start(), ns3::Ping::StartApplication(), ns3::V4TraceRoute::StartApplication(), ns3::Txop::StartBackoffNow(), ns3::lrwpan::LrWpanMac::StartCAP(), LrWpanSlottedCsmacaTestCase::StartConfirm(), StartConfirm(), ns3::UanMacRcGw::StartCycle(), ns3::BaseStationNetDevice::StartDlSubFrame(), Ns3TcpLossTestCase::StartFlow(), Ns3TcpStateTestCase::StartFlow(), StartFlow(), StartFlow(), ns3::BaseStationNetDevice::StartFrame(), ns3::QosTxop::StartMuEdcaTimerNow(), ns3::NdiscCache::Entry::StartReachableTimer(), ns3::PhyEntity::StartReceivePreamble(), ns3::lrwpan::LrWpanPhy::StartRx(), ns3::LteSpectrumPhy::StartRxData(), ns3::LteSpectrumPhy::StartRxDlCtrl(), ns3::UanPhyGen::StartRxPacket(), ns3::LteSpectrumPhy::StartRxUlSrs(), ns3::OnOffApplication::StartSending(), ns3::LteEnbPhy::StartSubFrame(), ns3::UanMacCw::StartTimer(), EmlsrUlTxopTest::StartTraffic(), ns3::BaseStationNetDevice::StartUlSubFrame(), ns3::ArpCache::StartWaitReplyTimer(), ns3::V4TraceRoute::StartWaitReplyTimer(), TestRxOffWhenIdleAfterCsmaFailure::StateChangeNotificationDev0(), TestRxOffWhenIdleAfterCsmaFailure::StateChangeNotificationDev2(), ns3::LteUePhy::SubframeIndication(), ns3::WifiPhyStateHelper::SwitchFromOff(), ns3::WifiPhyStateHelper::SwitchFromRxAbort(), ns3::WifiPhyStateHelper::SwitchFromRxEndError(), ns3::WifiPhyStateHelper::SwitchFromRxEndOk(), ns3::WifiPhyStateHelper::SwitchFromSleep(), ns3::WifiPhyStateHelper::SwitchMaybeToCcaBusy(), ns3::WifiPhyStateHelper::SwitchToChannelSwitching(), ns3::WifiPhyStateHelper::SwitchToOff(), ns3::WifiPhyStateHelper::SwitchToRx(), ns3::WifiPhyStateHelper::SwitchToSleep(), ns3::WifiPhyStateHelper::SwitchToTx(), TcPacketsInQueue(), LteFrAreaTestCase::TeleportUe(), LteUplinkPowerControlTestCase::TeleportUe(), LteFrAreaTestCase::TeleportUe2(), TestDeterministicByTime(), Throughput(), ns3::olsr::RoutingProtocol::TopologyTupleTimerExpire(), TotalEnergy(), TotalEnergyHarvested(), ns3::PyViz::TraceDevQueueDrop(), TraceDrop(), TraceDropsFrequency(), TraceFirstCwnd(), TraceFirstDctcp(), TraceFirstRtt(), TraceFirstThroughput(), TraceMark(), TraceMarksFrequency(), TraceN0Cwnd(), TraceN0Rtt(), TraceN0Throughput(), TraceN1Cwnd(), TraceN1Rtt(), TraceN1Throughput(), ns3::PyViz::TraceNetDevRxCommon(), ns3::PyViz::TraceNetDevTxCommon(), TracePacketReception(), TracePingRtt(), TracePingRtt(), TraceQueueDrop(), TraceQueueLength(), TraceQueueLength(), TraceQueueMark(), TraceSecondCwnd(), TraceSecondDctcp(), TraceSecondRtt(), TraceSecondThroughput(), ProbeTestCase1::TraceSink(), ns3::TimeSeriesAdaptor::TraceSinkDouble(), ns3::AnimationInterface::TrackIpv4L3ProtocolCounters(), ns3::AnimationInterface::TrackIpv4Route(), ns3::AnimationInterface::TrackQueueCounters(), ns3::AnimationInterface::TrackWifiMacCounters(), ns3::AnimationInterface::TrackWifiPhyCounters(), LrWpanSlottedCsmacaTestCase::TransactionCost(), LrWpanSlottedCsmacaTestCase::TransEndIndication(), TransEndIndication(), ns3::lorawan::LoraPacketTracker::TransmissionCallback(), BackoffGenerationTest::Transmit(), EmlsrOperationsTestBase::Transmit(), MultiLinkOperationsTestBase::Transmit(), ns3::UanTransducerHd::Transmit(), OfdmaAckSequenceTest::Transmit(), WifiTxopTest::Transmit(), WifiUseAvailBwTest::Transmit(), EmlsrCcaBusyTest::TransmitPacketToAp(), ns3::PointToPointRemoteChannel::TransmitStart(), TcpPacingTest::Tx(), TcpSlowStartNormalTest::Tx(), TcpZeroWindowTest::Tx(), Bug2470TestCase::TxCallback(), TxTracer(), PingTestCase::TxTraceSink(), LteHandoverDelayTestCase::UeHandoverEndOkCallback(), LteHandoverDelayTestCase::UeHandoverStartCallback(), UeStateTransition(), LteFrAreaTestCase::UlDataRxStart(), ns3::RadioBearerStatsCalculator::UlRxPdu(), CarrierAggregationTestCase::UlScheduling(), LteCqiGenerationDlPowerControlTestCase::UlScheduling(), LteCqiGenerationTestCase::UlScheduling(), LteInterferenceTestCase::UlScheduling(), ns3::MacStatsCalculator::UlScheduling(), ns3::RadioBearerStatsCalculator::UlTxPdu(), ns3::aodv::Neighbors::Update(), ns3::ConstantVelocityHelper::Update(), ns3::TcpBic::Update(), ns3::TcpCubic::Update(), ns3::WaypointMobilityModel::Update(), ns3::TcpBbr::UpdateAckAggregation(), ns3::TcpHtcp::UpdateAlpha(), UpdateAnimation(), ns3::ChannelAccessManager::UpdateBackoff(), ns3::TcpLedbat::UpdateBaseDelay(), ns3::Ipv4L3Protocol::UpdateDuplicate(), ns3::energy::BasicEnergySource::UpdateEnergySource(), ns3::energy::GenericBatteryModel::UpdateEnergySource(), ns3::energy::LiIonEnergySource::UpdateEnergySource(), ns3::energy::RvBatteryModel::UpdateEnergySource(), ns3::energy::BasicEnergyHarvester::UpdateHarvestedPower(), ns3::ChannelAccessManager::UpdateLastIdlePeriod(), ns3::RedQueueDisc::UpdateMaxP(), ns3::AmrrWifiManager::UpdateMode(), ns3::OnoeWifiManager::UpdateMode(), ns3::FrameExchangeManager::UpdateNav(), ns3::dsr::DsrRouteCache::UpdateNeighbor(), ns3::BlockAckManager::UpdateOriginatorAgreement(), NetAnimExperiment::UpdatePositions(), ns3::NdiscCache::Entry::UpdateReachableTimer(), ns3::TcpBbr::UpdateRTprop(), ns3::TcpSocketBase::UpdateRttHistory(), ns3::ArpCache::Entry::UpdateSeen(), ns3::MinstrelHtWifiManager::UpdateStats(), ns3::MinstrelWifiManager::UpdateStats(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnRxEnd(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnRxStartIndication(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnTxStart(), ns3::BaseStationNetDevice::UplinkAllocationEnd(), ns3::BaseStationNetDevice::UplinkAllocationStart(), ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer(), ns3::FrameExchangeManager::VirtualCsMediumIdle(), ns3::AnimationInterface::WifiPhyRxBeginTrace(), ns3::AnimationInterface::WifiPhyTxBeginTrace(), Ns3TcpLossTestCase::WriteUntilBufferFull(), Ns3TcpStateTestCase::WriteUntilBufferFull(), ns3::AnimationInterface::WriteXmlRouting(), ns3::AnimationInterface::WriteXmlRp(), ns3::AnimationInterface::WriteXmlUpdateLink(), ns3::AnimationInterface::WriteXmlUpdateNodeColor(), ns3::AnimationInterface::WriteXmlUpdateNodeCounter(), ns3::AnimationInterface::WriteXmlUpdateNodeDescription(), ns3::AnimationInterface::WriteXmlUpdateNodeImage(), ns3::AnimationInterface::WriteXmlUpdateNodePosition(), and ns3::AnimationInterface::WriteXmlUpdateNodeSize().

+ Here is the call graph for this function:

◆ Remove()

void ns3::Simulator::Remove ( const EventId & id)
static

Remove an event from the event list.

This method has the same visible effect as the ns3::EventId::Cancel method but its algorithmic complexity is much higher: it has often O(log(n)) complexity, sometimes O(n), sometimes worse. Note that it is not possible to remove events which were scheduled for the "destroy" time. Doing so will result in a program error (crash).

Parameters
[in]idThe event to remove from the list of scheduled events.

Definition at line 264 of file simulator.cc.

References ns3::GetImpl(), ns3::PeekImpl(), and ns3::SimulatorImpl::Remove().

Referenced by SimulatorEventsTestCase::DoRun(), ns3::RandomWalk2dOutdoorMobilityModel::DoSetPosition(), SimulatorEventsTestCase::EventB(), and ns3::EventId::Remove().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Run()

void ns3::Simulator::Run ( )
static

Run the simulation.

The simulation will run until one of:

  • No events are present anymore
  • The user called Simulator::Stop
  • The user called Simulator::Stop with a stop time and the expiration time of the next event to be processed is greater than or equal to the stop time.

Definition at line 167 of file simulator.cc.

References ns3::Time::ClearMarkedTimes(), ns3::GetImpl(), NS_LOG_FUNCTION_NOARGS, and ns3::SimulatorImpl::Run().

Referenced by DsdvManetExample::CaseRun(), BatteryLifetimeTest::ConstantLoadTest(), BasicEnergyDepletionTest::DepletionTestCase(), UanTest::DoOnePhyTest(), AbstractAnimationInterfaceTestCase::DoRun(), AcousticModemEnergyDepletionTestCase::DoRun(), AcousticModemEnergyTestCase::DoRun(), AidAssignmentTest::DoRun(), BackoffGenerationTest::DoRun(), BasicEnergyHarvesterTestCase::DoRun(), BlockAckAggregationDisabledTest::DoRun(), BlockAckRecipientBufferTest::DoRun(), BriteTopologyFunctionTestCase::DoRun(), Bug2222TestCase::DoRun(), Bug2831TestCase::DoRun(), Bug2843TestCase::DoRun(), Bug730TestCase::DoRun(), Bug772ChainTest::DoRun(), BulkSendBasicTestCase::DoRun(), BulkSendSeqTsSizeTestCase::DoRun(), BurstErrorModelSimple::DoRun(), CarrierAggregationConfigTestCase::DoRun(), CarrierAggregationTestCase::DoRun(), CCAVulnerableWindowTest::DoRun(), ChainRegressionTest::DoRun(), ChannelTest::DoRun(), CobaltQueueDiscCeThresholdTest::DoRun(), CobaltQueueDiscEnhancedBlueTest::DoRun(), CobaltQueueDiscMarkTest::DoRun(), CoDelQueueDiscBasicDrop::DoRun(), CoDelQueueDiscBasicMark::DoRun(), CsmaBridgeTestCase::DoRun(), CsmaBroadcastTestCase::DoRun(), CsmaMulticastTestCase::DoRun(), CsmaOneSubnetTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), CsmaPingTestCase::DoRun(), CsmaRawIpSocketTestCase::DoRun(), CsmaStarTestCase::DoRun(), DcfImmediateAccessBroadcastTestCase::DoRun(), DhcpTestCase::DoRun(), DownlinkPacketTest::DoRun(), DsrSendBuffTest::DoRun(), DsssModulationTest::DoRun(), DualStackTestCase::DoRun(), DuplicateTest::DoRun(), DynamicNeighborCacheTest::DoRun(), DynamicPartialTest::DoRun(), EmlOmnExchangeTest::DoRun(), EmlsrCcaBusyTest::DoRun(), EmlsrDlTxopTest::DoRun(), EmlsrLinkSwitchTest::DoRun(), EmlsrUlTxopTest::DoRun(), EpcS1uDlTestCase::DoRun(), EpcS1uUlTestCase::DoRun(), ErrorModelSimple::DoRun(), FlameRegressionTest::DoRun(), FlameRtableTest::DoRun(), FlushTest::DoRun(), FqCobaltQueueDiscEcnMarking::DoRun(), FqCobaltQueueDiscL4sMode::DoRun(), FqCoDelQueueDiscECNMarking::DoRun(), FqCoDelQueueDiscL4sMode::DoRun(), FqPieQueueDiscL4sMode::DoRun(), GlobalRouteManagerImplTestCase::DoRun(), HwmpDoRfRegressionTest::DoRun(), HwmpProactiveRegressionTest::DoRun(), HwmpReactiveRegressionTest::DoRun(), HwmpRtableTest::DoRun(), HwmpSimplestRegressionTest::DoRun(), IcmpEchoReplyTestCase::DoRun(), IcmpTimeExceedTestCase::DoRun(), IcmpV6EchoReplyTestCase::DoRun(), IcmpV6TimeExceedTestCase::DoRun(), IdealRateManagerChannelWidthTest::DoRun(), IdealRateManagerMimoTest::DoRun(), InterfaceContainerTest::DoRun(), InterferenceHelperSequenceTest::DoRun(), Ipv4DeduplicationPerformanceTest::DoRun(), Ipv4DeduplicationTest::DoRun(), Ipv4DynamicGlobalRoutingTestCase::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv4PacketInfoTagTest::DoRun(), Ipv4RipSplitHorizonStrategyTest::DoRun(), Ipv6DadTest::DoRun(), Ipv6FragmentationTest::DoRun(), Ipv6PacketInfoTagTest::DoRun(), Ipv6RipngSplitHorizonStrategyTest::DoRun(), Issue169TestCase::DoRun(), Issue211Test::DoRun(), LargestIdlePrimaryChannelTest::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaDataPhyErrorModelTestCase::DoRun(), LenaDlCtrlPhyErrorModelTestCase::DoRun(), LenaFdBetFfMacSchedulerTestCase1::DoRun(), LenaFdBetFfMacSchedulerTestCase2::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaHarqTestCase::DoRun(), LenaMimoTestCase::DoRun(), LenaPfFfMacSchedulerTestCase1::DoRun(), LenaPfFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaRrFfMacSchedulerTestCase::DoRun(), LenaTdBetFfMacSchedulerTestCase1::DoRun(), LenaTdBetFfMacSchedulerTestCase2::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), LiIonEnergyTestCase::DoRun(), LinkCheckTest::DoRun(), LinkTest::DoRun(), LrWpanAckTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanCollisionTestCase::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanEdTestCase::DoRun(), LrWpanErrorDistanceTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteCqiGenerationDlPowerControlTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), LteDownlinkPowerControlTestCase::DoRun(), LteEnbAntennaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteHandoverDelayTestCase::DoRun(), LteHandoverFailureTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteHardFrTestCase::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteIpv6RoutingTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), LtePrimaryCellChangeTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LteRlcAmTransmitterConcatenationTestCase::DoRun(), LteRlcAmTransmitterOneSduTestCase::DoRun(), LteRlcAmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcAmTransmitterSegmentationTestCase::DoRun(), LteRlcUmE2eTestCase::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), LteRlcUmTransmitterOneSduTestCase::DoRun(), LteRlcUmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LteSecondaryCellHandoverTestCase::DoRun(), LteSecondaryCellSelectionTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteStrictFrTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LteUeMeasurementsPiecewiseTestCase3::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), MobilityTraceTestCase::DoRun(), MultiLinkMuTxTest::DoRun(), MultiLinkSetupTest::DoRun(), MultiLinkTxTest::DoRun(), NetDeviceContainerTest::DoRun(), NixVectorRoutingTest::DoRun(), Ns2MobilityHelperTest::DoRun(), ns3::aodv::AodvRqueueTest::DoRun(), ns3::aodv::IdCacheTest::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), ns3::aodv::NeighborTest::DoRun(), ns3::LenaDeactivateBearerTestCase::DoRun(), ns3::olsr::Bug780Test::DoRun(), ns3::olsr::HelloRegressionTest::DoRun(), ns3::olsr::TcRegressionTest::DoRun(), ns3::TcpBbrCheckGainValuesTest::DoRun(), ns3::TcpBbrPacingEnableTest::DoRun(), ns3::TcpGeneralTest::DoRun(), ns3::TcpLpInferenceTest1::DoRun(), ns3::TcpLpInferenceTest2::DoRun(), ns3::TcpLpToNewReno::DoRun(), ns3::tests::EventGarbageCollectorTestCase::DoRun(), ns3::tests::WatchdogTestCase::DoRun(), Ns3TcpCubicTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), Ns3TcpStateTestCase::DoRun(), Ns3WimaxManagementConnectionsTestCase::DoRun(), Ns3WimaxNetworkEntryTestCase::DoRun(), Ns3WimaxSfCreationTestCase::DoRun(), OfdmaAckSequenceTest::DoRun(), OrigBlockAckWindowStalled::DoRun(), OutdoorRandomWalkTestCase::DoRun(), PacketSocketAppsTest::DoRun(), PeerManagementProtocolRegressionTest::DoRun(), PhyConnectivityTest::DoRun(), PingTestCase::DoRun(), PointToPointTest::DoRun(), PreservePacketsInAmpdus::DoRun(), ProbeTestCase1::DoRun(), QosFragmentationTestCase::DoRun(), RadvdTestCase::DoRun(), ReleaseSeqNoAfterCtsTimeoutTest::DoRun(), SimulatorEventsTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), SixlowpanFragmentationTest::DoRun(), SixlowpanIphcStatefulImplTest::DoRun(), SpectrumIdealPhyTestCase::DoRun(), SpectrumInterferenceTestCase::DoRun(), SpectrumWifiPhyBasicTest::DoRun(), SpectrumWifiPhyListenerTest::DoRun(), SpectrumWifiPhyMultipleInterfacesTest::DoRun(), StartSeqNoUpdateAfterAddBaTimeoutTest::DoRun(), StaWifiMacScanningTestCase::DoRun(), SteadyStateRandomWaypointTest::DoRun(), TcFlowControlTestCase::DoRun(), TcpBicDecrementTest::DoRun(), TcpBicIncrementTest::DoRun(), TcpDctcpToLinuxReno::DoRun(), TcpEndPointBug2211Test::DoRun(), TcpHtcpIncrementTest::DoRun(), TcpLedbatDecrementTest::DoRun(), TcpLedbatIncrementTest::DoRun(), TcpLedbatToNewReno::DoRun(), TcpRateLinuxBasicTest::DoRun(), TcpRateLinuxWithBufferTest::DoRun(), TcpSynConnectionFailedTest::DoRun(), TcpTestCase::DoRun(), TcpTxBufferTestCase::DoRun(), TestActiveScanPanDescriptors::DoRun(), TestAmpduReception::DoRun(), TestMultipleCtsResponsesFromMuRts::DoRun(), TestMultipleHeTbPreambles::DoRun(), TestNonHtDuplicatePhyReception::DoRun(), TestOrphanScan::DoRun(), TestPhyDropDueToTx::DoRun(), TestPhyHeadersReception::DoRun(), TestPhyPaddingExclusion::DoRun(), TestRxOffWhenIdleAfterCsmaFailure::DoRun(), TestSimpleFrameCaptureModel::DoRun(), TestSpectrumChannelWithBandwidthFilter::DoRun(), TestThresholdPreambleDetectionWithFrameCapture::DoRun(), TestThresholdPreambleDetectionWithoutFrameCapture::DoRun(), TestUlOfdmaPpduUid::DoRun(), TestUnsupportedBandwidthReception::DoRun(), TestUnsupportedModulationReception::DoRun(), TestWifiPhyRxTraceHelper::DoRun(), TestWifiPhyRxTraceHelperMloStr::DoRun(), TestWifiPhyRxTraceHelperYans::DoRun(), ThreadedSimulatorEventsTestCase::DoRun(), ThreeGppAntennaSetupChangedTest::DoRun(), ThreeGppCalcLongTermMultiPortTest::DoRun(), ThreeGppChannelConditionModelTestCase::DoRun(), ThreeGppChannelMatrixComputationTest::DoRun(), ThreeGppChannelMatrixUpdateTest::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), ThreeGppMimoPolarizationTest::DoRun(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), ThreeGppV2vHighwayLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vUrbanLosNlosvChCondModelTestCase::DoRun(), TimerTemplateTestCase::DoRun(), TimestampValueTestCase::DoRun(), Udp6SocketLoopbackTest::DoRun(), UdpClientServerTestCase::DoRun(), UdpEchoClientSetFillTestCase::DoRun(), UdpSocketLoopbackTest::DoRun(), UdpTraceClientServerTestCase::DoRun(), UplinkPacketTest::DoRun(), V2vHighwayProbChCondModelTestCase::DoRun(), V2vUrbanProbChCondModelTestCase::DoRun(), WaveformGeneratorTestCase::DoRun(), WaypointInitialPositionIsWaypoint::DoRun(), WaypointLazyNotifyFalse::DoRun(), WaypointLazyNotifyTrue::DoRun(), WaypointMobilityModelAddWaypointTest::DoRun(), WaypointMobilityModelNotifyTest::DoRun(), WaypointMobilityModelViaHelper::DoRun(), WifiAcMappingTest::DoRun(), WifiChannelSwitchingTest::DoRun(), WifiExtractExpiredMpdusTest::DoRun(), WifiFilsFrameTest::DoRun(), WifiMsduAggregatorThroughputTest::DoRun(), WifiPhyThresholdsStrongForeignSignalTest::DoRun(), WifiPhyThresholdsStrongWifiSignalTest::DoRun(), WifiPhyThresholdsWeakForeignSignalTest::DoRun(), WifiPhyThresholdsWeakWifiSignalTest::DoRun(), WifiPrimaryChannelsTest::DoRun(), WifiTxopTest::DoRun(), WifiUseAvailBwTest::DoRun(), Ns3WimaxSchedulingTestCase::DoRunOnce(), Ns3WimaxSFTypeTestCase::DoRunOnce(), Ns3WimaxSimpleOFDMTestCase::DoRunOnce(), TimerTemplateTestCase::DoTeardown(), ChannelAccessManagerTest< TxopType >::EndTest(), experiment(), experiment(), LteAggregationThroughputScaleTestCase::GetThroughput(), AodvExample::Run(), Bench::Run(), CollisionExperiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), InterferenceExperiment::Run(), MeshTest::Run(), NeighborCacheExample::Run(), NetAnimExperiment::Run(), PsrExperiment::Run(), RoutingExperiment::Run(), TracerouteExample::Run(), AredQueueDiscTestCase::RunAredDiscTest(), CobaltQueueDiscDropTest::RunDropTest(), Issue40TestCase::RunOne(), SpectrumWifiPhy80Plus80Test::RunOne(), SpectrumWifiPhyFilterTest::RunOne(), SpectrumWifiPhyTrackedBandsTest::RunOne(), TestDlMuMimoPhyTransmission::RunOne(), TestDlOfdmaPhyPuncturing::RunOne(), TestDlOfdmaPhyTransmission::RunOne(), TestInterBssConstantObssPdAlgo::RunOne(), TestUlMuMimoPhyTransmission::RunOne(), TestUlOfdmaPhyTransmission::RunOne(), TestUlOfdmaPowerControl::RunOne(), WifiPhyCcaIndicationTest::RunOne(), WifiTest::RunOne(), PieQueueDiscTestCase::RunPieTest(), Bug2470TestCase::RunSubtest(), TbfQueueDiscTestCase::RunTbfTest(), ThreeGppShadowingTestCase::RunTest(), Ipv4ForwardingTest::SendData(), Ipv4GlobalRoutingSlash32TestCase::SendData(), Ipv4RawSocketImplTest::SendData(), Ipv4RipCountToInfinityTest::SendData(), Ipv4RipTest::SendData(), Ipv4StaticRoutingSlash32TestCase::SendData(), Ipv6ForwardingTest::SendData(), Ipv6RawSocketImplTest::SendData(), Ipv6RipngCountToInfinityTest::SendData(), Ipv6RipngTest::SendData(), SixlowpanHc1ImplTest::SendData(), SixlowpanIphcImplTest::SendData(), UdpSocketImplTest::SendData(), Ipv4RawSocketImplTest::SendData_IpHdr(), Ipv4HeaderTest::SendData_IpHdr_Dscp(), Udp6SocketImplTest::SendDataTo(), UdpSocketImplTest::SendDataTo(), BasicEnergyUpdateTest::StateSwitchTest(), TestDeterministic(), TestDeterministicByTime(), TestProbabilistic(), ns3::tests::TrickleTimerTestCase::TestRedundancy(), PowerRateAdaptationTest::TestRrpaa(), ns3::tests::TrickleTimerTestCase::TestSteadyState(), and BatteryLifetimeTest::VariableLoadTest().

+ Here is the call graph for this function:

◆ Schedule() [1/3]

EventId ns3::Simulator::Schedule ( const Time & delay,
const Ptr< EventImpl > & event )
static

Schedule a future event execution (in the same context).

Parameters
[in]delayDelay until the event expires.
[in]eventThe event to schedule.
Returns
A unique identifier for the newly-scheduled event.

Definition at line 213 of file simulator.cc.

References DoSchedule(), and ns3::GetPointer().

+ Here is the call graph for this function:

◆ Schedule() [2/3]

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > , std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > , typename... Ts>
EventId ns3::Simulator::Schedule ( const Time & delay,
FUNC f,
Ts &&... args )
static

Schedule an event to expire after delay.

This can be thought of as scheduling an event for the current simulation time plus the delay passed as a parameter.

We leverage SFINAE to discard this overload if the second argument is convertible to Ptr<EventImpl> or is a function pointer.

Template Parameters
FUNC[deduced] Template type for the function to invoke.
Ts[deduced] Argument types.
Parameters
[in]delayThe relative expiration time of the event.
[in]fThe function to invoke.
[in]argsArguments to pass to MakeEvent.
Returns
The id for the scheduled event.

Definition at line 560 of file simulator.h.

References DoSchedule(), and ns3::MakeEvent().

Referenced by JakesPropagationExample::JakesPropagationExample(), ns3::LteUePhy::LteUePhy(), ns3::PieQueueDisc::PieQueueDisc(), ns3::DhcpClient::AcceptAck(), ns3::MultiUserScheduler::AccessReqTimeout(), ns3::ChannelListPriv::Add(), ChannelAccessManagerTest< TxopType >::AddAccessRequestWithAckTimeout(), ChannelAccessManagerTest< TxopType >::AddAccessRequestWithSuccessfulAck(), ChannelAccessManagerTest< TxopType >::AddAckTimeoutReset(), ns3::Ipv6Interface::AddAddress(), ns3::QosTxop::AddBaResponseTimeout(), ChannelAccessManagerTest< TxopType >::AddCcaBusyEvt(), ChannelAccessManagerTest< TxopType >::AddNavReset(), ChannelAccessManagerTest< TxopType >::AddNavStart(), FqCobaltQueueDiscL4sMode::AddPacketWithDelay(), FqCoDelQueueDiscL4sMode::AddPacketWithDelay(), FqPieQueueDiscL4sMode::AddPacketWithDelay(), ChannelAccessManagerTest< TxopType >::AddRxErrorEvt(), ChannelAccessManagerTest< TxopType >::AddRxErrorEvt(), ChannelAccessManagerTest< TxopType >::AddRxInsideSifsEvt(), ChannelAccessManagerTest< TxopType >::AddRxOkEvt(), ChannelAccessManagerTest< TxopType >::AddRxStartEvt(), ns3::LteInterference::AddSignal(), ns3::SpectrumInterference::AddSignal(), ChannelAccessManagerTest< TxopType >::AddSwitchingEvt(), ChannelAccessManagerTest< TxopType >::AddTxEvt(), ns3::WaypointMobilityModel::AddWaypoint(), AdvancePosition(), Experiment::AdvancePosition(), NodeStatistics::AdvancePosition(), ns3::UanMacRc::Associate(), ns3::UanMacRc::AssociateTimeout(), ns3::olsr::RoutingProtocol::AssociationTupleTimerExpire(), BackoffGenerationTest::BackoffGenerated(), ns3::lrwpan::LrWpanMac::BeaconSearchTimeout(), ns3::RandomDirection2dMobilityModel::BeginPause(), ns3::RandomWaypointMobilityModel::BeginWalk(), ns3::SteadyStateRandomWaypointMobilityModel::BeginWalk(), ns3::DhcpClient::Boot(), ns3::LteFfrDistributedAlgorithm::Calculate(), ns3::PieQueueDisc::CalculateP(), CalculateThroughput(), ns3::dsr::DsrRouting::CancelPacketTimerNextHop(), ns3::lrwpan::LrWpanCsmaCa::CanProceed(), Bench::Cb(), ChangeSignalAndReportRate(), ns3::WifiRadioEnergyModel::ChangeState(), TcpNewRenoCongAvoidNormalTest::Check(), EmlsrDlTxopTest::CheckApEmlNotificationFrame(), EmlsrDlTxopTest::CheckBlockAck(), EmlsrUlTxopTest::CheckBlockAck(), MultiLinkMuTxTest::CheckBlockAck(), MultiLinkTxTest::CheckBlockAck(), EmlsrUlTxopTest::CheckCtsFrames(), LteRlcAmTransmitterTestCase::CheckDataReceived(), LteRlcUmTransmitterTestCase::CheckDataReceived(), EmlOmnExchangeTest::CheckEmlNotification(), EmlsrDlTxopTest::CheckInitialControlFrame(), EmlsrLinkSwitchTest::CheckInitialControlFrame(), EmlsrUlTxopTest::CheckInitialControlFrame(), EmlsrCcaBusyTest::CheckPoint1(), EmlsrCcaBusyTest::CheckPoint2(), EmlsrDlTxopTest::CheckQosFrames(), EmlsrUlTxopTest::CheckQosFrames(), CheckQueueDiscSize(), CheckQueueSize(), CheckQueueSize(), CheckQueueSize(), EmlsrLinkSwitchTest::CheckRtsFrame(), ns3::dsr::DsrRouting::CheckSendBuffer(), EmlsrDlTxopTest::CheckStaEmlNotificationFrame(), CheckT1QueueSize(), CheckT2QueueSize(), DsdvManetExample::CheckThroughput(), Experiment::CheckThroughput(), RoutingExperiment::CheckThroughput(), ns3::LteEnbRrc::ConfigureCell(), ns3::tests::TrickleTimerTestCase::ConsistentEvent(), Emitter::Count(), HwmpReactiveRegressionTest::CreateNodes(), HwmpSimplestRegressionTest::CreateNodes(), ns3::olsr::Bug780Test::CreateNodes(), WifiTest::CreateOne(), TcpZeroWindowTest::CreateReceiverSocket(), TcpNewRenoCongAvoidNormalTest::CWndTrace(), ns3::RadioEnvironmentMapHelper::DelayedInstall(), CobaltQueueDiscCeThresholdTest::DequeueWithDelay(), CobaltQueueDiscEnhancedBlueTest::DequeueWithDelay(), FqCobaltQueueDiscEcnMarking::DequeueWithDelay(), FqCobaltQueueDiscL4sMode::DequeueWithDelay(), FqCoDelQueueDiscECNMarking::DequeueWithDelay(), FqCoDelQueueDiscL4sMode::DequeueWithDelay(), FqPieQueueDiscL4sMode::DequeueWithDelay(), PieQueueDiscTestCase::DequeueWithDelay(), ns3::Icmpv6L4Protocol::DoDAD(), ns3::TbfQueueDisc::DoDequeue(), ns3::TcpSocketBase::DoForwardUp(), Emitter::DoInitialize(), ns3::Application::DoInitialize(), ns3::ApWifiMac::DoInitialize(), ns3::dot11s::HwmpProtocol::DoInitialize(), ns3::MeshWifiInterfaceMac::DoInitialize(), ns3::MultiUserScheduler::DoInitialize(), ns3::Rip::DoInitialize(), ns3::RipNg::DoInitialize(), ns3::UeManager::DoInitialize(), ns3::RandomWaypointMobilityModel::DoInitializePrivate(), ns3::SteadyStateRandomWaypointMobilityModel::DoInitializePrivate(), ns3::LteUeRrc::DoNotifyOutOfSync(), ns3::LteUeRrc::DoNotifyRandomAccessSuccessful(), ns3::AdvancedEmlsrManager::DoNotifyTxopEnd(), ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::LteRlcTm::DoNotifyTxOpportunity(), ns3::LteRlcUm::DoNotifyTxOpportunity(), UanTest::DoOnePhyTest(), ns3::TcpSocketBase::DoPeerClose(), ns3::lorawan::LoraHelper::DoPrintSimulationTime(), ns3::LteRlcAm::DoReceivePdu(), ns3::LteRlcUm::DoReceivePdu(), ns3::LteTestMac::DoReportBufferStatus(), ns3::ChannelAccessManager::DoRestartAccessTimeoutIfNeeded(), BasicEnergyHarvesterTestCase::DoRun(), Bug2831TestCase::DoRun(), Bug2843TestCase::DoRun(), Bug730TestCase::DoRun(), BurstErrorModelSimple::DoRun(), ChainRegressionTest::DoRun(), CobaltQueueDiscCeThresholdTest::DoRun(), CobaltQueueDiscMarkTest::DoRun(), CoDelQueueDiscBasicDrop::DoRun(), CoDelQueueDiscBasicMark::DoRun(), DcfImmediateAccessBroadcastTestCase::DoRun(), DownlinkPacketTest::DoRun(), DsrSendBuffTest::DoRun(), DsssModulationTest::DoRun(), DynamicNeighborCacheTest::DoRun(), DynamicPartialTest::DoRun(), EpcS1uDlTestCase::DoRun(), EpcS1uUlTestCase::DoRun(), ErrorModelSimple::DoRun(), FlameRtableTest::DoRun(), FqCobaltQueueDiscEcnMarking::DoRun(), FqCobaltQueueDiscL4sMode::DoRun(), FqCoDelQueueDiscECNMarking::DoRun(), FqCoDelQueueDiscL4sMode::DoRun(), FqPieQueueDiscL4sMode::DoRun(), HwmpRtableTest::DoRun(), IdealRateManagerChannelWidthTest::DoRun(), IdealRateManagerMimoTest::DoRun(), InterferenceHelperSequenceTest::DoRun(), Ipv4DynamicGlobalRoutingTestCase::DoRun(), Issue169TestCase::DoRun(), Issue211Test::DoRun(), LargestIdlePrimaryChannelTest::DoRun(), LenaMimoTestCase::DoRun(), LinkCheckTest::DoRun(), LrWpanCollisionTestCase::DoRun(), LrWpanEdTestCase::DoRun(), LrWpanErrorDistanceTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteIpv6RoutingTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LteRlcUmE2eTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LteSecondaryCellHandoverTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LteUeMeasurementsPiecewiseTestCase3::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), MultiLinkSetupTest::DoRun(), NixVectorRoutingTest::DoRun(), ns3::aodv::AodvRqueueTest::DoRun(), ns3::aodv::IdCacheTest::DoRun(), ns3::aodv::NeighborTest::DoRun(), ns3::LenaDeactivateBearerTestCase::DoRun(), ns3::TcpBbrCheckGainValuesTest::DoRun(), ns3::TcpBbrPacingEnableTest::DoRun(), ns3::TcpGeneralTest::DoRun(), ns3::tests::EventGarbageCollectorTestCase::DoRun(), ns3::tests::WatchdogTestCase::DoRun(), Ns3TcpCubicTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), Ns3TcpStateTestCase::DoRun(), OutdoorRandomWalkTestCase::DoRun(), PhyConnectivityTest::DoRun(), PointToPointTest::DoRun(), PreservePacketsInAmpdus::DoRun(), ProbeTestCase1::DoRun(), RadvdTestCase::DoRun(), SimulatorEventsTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), SixlowpanIphcStatefulImplTest::DoRun(), SpectrumInterferenceTestCase::DoRun(), SpectrumWifiPhyBasicTest::DoRun(), SpectrumWifiPhyListenerTest::DoRun(), SpectrumWifiPhyMultipleInterfacesTest::DoRun(), StaWifiMacScanningTestCase::DoRun(), SteadyStateRandomWaypointTest::DoRun(), TcFlowControlTestCase::DoRun(), TcpBicDecrementTest::DoRun(), TcpBicIncrementTest::DoRun(), TcpDctcpToLinuxReno::DoRun(), TcpHtcpIncrementTest::DoRun(), TcpLedbatDecrementTest::DoRun(), TcpLedbatIncrementTest::DoRun(), TcpLedbatToNewReno::DoRun(), TcpRateLinuxBasicTest::DoRun(), TcpRateLinuxWithBufferTest::DoRun(), TcpTxBufferTestCase::DoRun(), TestAmpduReception::DoRun(), TestMultipleCtsResponsesFromMuRts::DoRun(), TestMultipleHeTbPreambles::DoRun(), TestNonHtDuplicatePhyReception::DoRun(), TestPhyDropDueToTx::DoRun(), TestPhyHeadersReception::DoRun(), TestPhyPaddingExclusion::DoRun(), TestSimpleFrameCaptureModel::DoRun(), TestSpectrumChannelWithBandwidthFilter::DoRun(), TestThresholdPreambleDetectionWithFrameCapture::DoRun(), TestThresholdPreambleDetectionWithoutFrameCapture::DoRun(), TestUlOfdmaPpduUid::DoRun(), TestUnsupportedBandwidthReception::DoRun(), TestUnsupportedModulationReception::DoRun(), TestWifiPhyRxTraceHelper::DoRun(), TestWifiPhyRxTraceHelperMloStr::DoRun(), TestWifiPhyRxTraceHelperYans::DoRun(), ThreadedSimulatorEventsTestCase::DoRun(), ThreeGppAntennaSetupChangedTest::DoRun(), ThreeGppChannelConditionModelTestCase::DoRun(), ThreeGppChannelMatrixComputationTest::DoRun(), ThreeGppChannelMatrixUpdateTest::DoRun(), ThreeGppHttpObjectTestCase::DoRun(), ThreeGppSpectrumPropagationLossModelTest::DoRun(), ThreeGppV2vHighwayLosNlosvChCondModelTestCase::DoRun(), ThreeGppV2vUrbanLosNlosvChCondModelTestCase::DoRun(), TimestampValueTestCase::DoRun(), UplinkPacketTest::DoRun(), V2vHighwayProbChCondModelTestCase::DoRun(), V2vUrbanProbChCondModelTestCase::DoRun(), WaveformGeneratorTestCase::DoRun(), WaypointInitialPositionIsWaypoint::DoRun(), WaypointLazyNotifyFalse::DoRun(), WaypointLazyNotifyTrue::DoRun(), WaypointMobilityModelAddWaypointTest::DoRun(), WaypointMobilityModelNotifyTest::DoRun(), WaypointMobilityModelViaHelper::DoRun(), WifiExtractExpiredMpdusTest::DoRun(), WifiPhyThresholdsStrongForeignSignalTest::DoRun(), WifiPhyThresholdsStrongWifiSignalTest::DoRun(), WifiPhyThresholdsWeakForeignSignalTest::DoRun(), WifiPhyThresholdsWeakWifiSignalTest::DoRun(), WifiPrimaryChannelsTest::DoRun(), WifiTxopTest::DoRun(), ns3::LteUeRrcProtocolIdeal::DoSendIdealUeContextRemoveRequest(), ns3::LteUeRrcProtocolReal::DoSendIdealUeContextRemoveRequest(), ns3::LteUeRrcProtocolIdeal::DoSendMeasurementReport(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionReconfiguration(), ns3::LteUeRrcProtocolIdeal::DoSendRrcConnectionReconfigurationCompleted(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionReestablishment(), ns3::LteUeRrcProtocolIdeal::DoSendRrcConnectionReestablishmentComplete(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionReestablishmentReject(), ns3::LteUeRrcProtocolIdeal::DoSendRrcConnectionReestablishmentRequest(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionReject(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionRelease(), ns3::LteEnbRrcProtocolReal::DoSendRrcConnectionRelease(), ns3::LteUeRrcProtocolIdeal::DoSendRrcConnectionRequest(), ns3::LteEnbRrcProtocolIdeal::DoSendRrcConnectionSetup(), ns3::LteUeRrcProtocolIdeal::DoSendRrcConnectionSetupCompleted(), ns3::LteEnbRrcProtocolIdeal::DoSendSystemInformation(), EmlsrOperationsTestBase::DoSetup(), ns3::HePhy::DoStartReceivePayload(), ns3::PhyEntity::DoStartReceivePayload(), ns3::WifiDefaultAssocManager::DoStartScanning(), ns3::LteRlcAm::DoTransmitPdcpPdu(), ns3::LteTestMac::DoTransmitPdu(), ns3::GaussMarkovMobilityModel::DoWalk(), ns3::RandomWalk2dMobilityModel::DoWalk(), ns3::RandomWalk2dOutdoorMobilityModel::DoWalk(), ns3::olsr::RoutingProtocol::DupTupleTimerExpire(), Emitter::Emit(), ns3::EhtFrameExchangeManager::EmlsrSwitchToListening(), ns3::TrickleTimer::Enable(), EmlsrDlTxopTest::EnableEmlsrMode(), ns3::AnimationInterface::EnableIpv4L3ProtocolCounters(), ns3::AnimationInterface::EnableIpv4RouteTracking(), ns3::lorawan::LoraHelper::EnablePeriodicDeviceStatusPrinting(), ns3::lorawan::LoraHelper::EnablePeriodicGlobalPerformancePrinting(), ns3::lorawan::LoraHelper::EnablePeriodicPhyPerformancePrinting(), ns3::AnimationInterface::EnableQueueCounters(), ns3::lorawan::LoraHelper::EnableSimulationTimePrinting(), ns3::AnimationInterface::EnableWifiMacCounters(), ns3::AnimationInterface::EnableWifiPhyCounters(), ns3::UanMacRcGw::EndCycle(), ns3::BaseStationNetDevice::EndDlSubFrame(), ns3::RadioBearerStatsCalculator::EndEpoch(), ns3::PhyEntity::EndPreambleDetectionPeriod(), ns3::HtFrameExchangeManager::EndReceiveAmpdu(), ns3::SimpleOfdmWimaxPhy::EndReceiveFecBlock(), ns3::PhyEntity::EndReceiveField(), ns3::WifiDefaultAssocManager::EndScanning(), ns3::BaseStationNetDevice::EndUlSubFrame(), AredQueueDiscTestCase::EnqueueWithDelay(), CobaltQueueDiscCeThresholdTest::EnqueueWithDelay(), CobaltQueueDiscDropTest::EnqueueWithDelay(), PieQueueDiscTestCase::EnqueueWithDelay(), ns3::ThreeGppHttpClient::EnterParsingTime(), ns3::ThreeGppHttpClient::EnterReadingTime(), anonymous_namespace{sample-show-progress.cc}::Hold::Event(), ThreadedSimulatorEventsTestCase::EventA(), SimulatorEventsTestCase::EventB(), ThreadedSimulatorEventsTestCase::EventB(), ThreadedSimulatorEventsTestCase::EventC(), ThreadedSimulatorEventsTestCase::EventD(), ChannelAccessManagerTest< TxopType >::ExpectBusy(), experiment(), ns3::Watchdog::Expire(), ns3::WifiTxTimer::Expire(), ns3::LteRlcAm::ExpireRbsTimer(), ns3::LteRlcTm::ExpireRbsTimer(), ns3::LteRlcUm::ExpireRbsTimer(), ns3::LteRlcAm::ExpireReorderingTimer(), ns3::LteRlcUm::ExpireReorderingTimer(), ns3::olsr::RoutingProtocol::ForwardDefault(), ns3::dot11s::HwmpProtocol::ForwardPathError(), ns3::Icmpv6L4Protocol::FunctionDadTimeout(), SpectrumWifiPhy80Plus80Test::GenerateInterference(), TestDlOfdmaPhyPuncturing::GenerateInterference(), TestDlOfdmaPhyTransmission::GenerateInterference(), TestNonHtDuplicatePhyReception::GenerateInterference(), TestPhyPaddingExclusion::GenerateInterference(), TestUlOfdmaPhyTransmission::GenerateInterference(), GeneratePacket(), ns3::SpectrumAnalyzer::GenerateReport(), Experiment::GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), GenerateTraffic(), ns3::WaveformGenerator::GenerateWaveform(), GoodputSampling(), GraphBattery1(), GraphBattery2(), GraphBattery3(), GraphBattery4(), GraphBattery5(), ns3::WifiRadioEnergyModel::HandleEnergyChanged(), ns3::Radvd::HandleRead(), ns3::Rip::HandleResponses(), ns3::RipNg::HandleResponses(), ns3::Ipv4ClickRouting::HandleScheduleFromClick(), ns3::Ipv4L3Protocol::HandleTimeout(), ns3::Ipv6ExtensionFragment::HandleTimeout(), ns3::SixLowPanNetDevice::HandleTimeout(), ns3::ArpCache::HandleWaitReplyTimeout(), ns3::V4TraceRoute::HandleWaitReplyTimeout(), ns3::LteHelper::HandoverRequest(), ns3::LteHelper::HandoverRequest(), ns3::olsr::RoutingProtocol::IfaceAssocTupleTimerExpire(), ns3::RadioEnvironmentMapHelper::Install(), AodvExample::InstallApplications(), InstallBulkSend(), ns3::TrickleTimer::IntervalExpire(), ns3::Rip::InvalidateRoute(), ns3::RipNg::InvalidateRoute(), ns3::TcpSocketBase::LastAckTimeout(), ns3::olsr::RoutingProtocol::LinkSensing(), ns3::olsr::RoutingProtocol::LinkTupleTimerExpire(), ns3::ArpL3Protocol::Lookup(), ns3::BaseStationNetDevice::MarkRangingOppStart(), ns3::BaseStationNetDevice::MarkUplinkAllocationEnd(), ns3::BaseStationNetDevice::MarkUplinkAllocationStart(), ns3::LteUeRrc::MeasurementReportTriggering(), ns3::StaWifiMac::MissedBeacons(), ns3::lrwpan::LrWpanMac::MlmeSyncRequest(), ns3::AnimationInterface::MobilityAutoCheck(), modify(), ns3::olsr::RoutingProtocol::MprSelTupleTimerExpire(), ns3::olsr::RoutingProtocol::Nb2hopTupleTimerExpire(), ns3::TcpSocketBase::NewAck(), JakesPropagationExample::Next(), ns3::MultiUserScheduler::NotifyAccessGranted(), ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(), ns3::WifiRadioEnergyModelPhyListener::NotifyCcaBusyStart(), ns3::FlowMonitor::NotifyConstructionCompleted(), ns3::BlockAckManager::NotifyGotBlockAck(), PreservePacketsInAmpdus::NotifyMacHeaderEndRx(), ns3::DefaultEmlsrManager::NotifyMainPhySwitch(), ns3::HtFrameExchangeManager::NotifyPacketDiscarded(), ns3::HtFrameExchangeManager::NotifyReceivedNormalAck(), ns3::StaWifiMac::NotifySwitchingEmlsrLink(), ns3::WifiRadioEnergyModelPhyListener::NotifySwitchingStart(), ns3::FrameExchangeManager::NotifySwitchingStartNow(), ns3::WifiRadioEnergyModelPhyListener::NotifyTxStart(), ns3::DhcpClient::OfferHandler(), ns3::lorawan::NetworkScheduler::OnReceivedPacket(), ns3::lorawan::NetworkScheduler::OnReceiveWindowOpportunity(), ns3::lorawan::ClassAEndDeviceLorawanMac::OpenFirstReceiveWindow(), ns3::lorawan::ClassAEndDeviceLorawanMac::OpenSecondReceiveWindow(), ns3::lrwpan::LrWpanMac::PdDataConfirm(), ns3::lrwpan::LrWpanMac::PdDataIndication(), ns3::lrwpan::LrWpanPhy::PdDataRequest(), ns3::SSLinkManager::PerformBackoff(), ns3::FlowMonitor::PeriodicCheckForLostPackets(), ns3::TcpSocketBase::PersistTimeout(), ns3::WifiPhyRxTraceSink::PhyPpduDrop(), ns3::WifiPhyRxTraceSink::PhySignalTransmission(), ns3::Watchdog::Ping(), ns3::TcpWestwoodPlus::PktsAcked(), ns3::lrwpan::LrWpanPhy::PlmeCcaRequest(), ns3::lrwpan::LrWpanPhy::PlmeEdRequest(), ns3::lrwpan::LrWpanMac::PlmeSetAttributeConfirm(), ns3::lrwpan::LrWpanPhy::PlmeSetTRXStateRequest(), ns3::olsr::RoutingProtocol::PopulateMprSelectorSet(), ns3::olsr::RoutingProtocol::PopulateTwoHopNeighborSet(), ns3::lorawan::EndDeviceLorawanMac::postponeTransmission(), ns3::UeManager::PrepareHandover(), ns3::Ipv4RoutingHelper::PrintArpCacheEvery(), PrintCellInfo(), ns3::Ipv4RoutingHelper::PrintEvery(), ns3::Ipv6RoutingHelper::PrintEvery(), PrintIntermediateTput(), ns3::Ipv6RoutingHelper::PrintNdiscCacheEvery(), ns3::Ipv4RoutingHelper::PrintNeighborCacheAllAt(), ns3::Ipv6RoutingHelper::PrintNeighborCacheAllAt(), ns3::Ipv4RoutingHelper::PrintNeighborCacheAllEvery(), ns3::Ipv6RoutingHelper::PrintNeighborCacheAllEvery(), ns3::Ipv4RoutingHelper::PrintNeighborCacheAt(), ns3::Ipv6RoutingHelper::PrintNeighborCacheAt(), ns3::Ipv4RoutingHelper::PrintNeighborCacheEvery(), ns3::Ipv6RoutingHelper::PrintNeighborCacheEvery(), PrintProgress(), ns3::NixVectorHelper< T >::PrintRoutingPathAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableAllEvery(), ns3::Ipv4RoutingHelper::PrintRoutingTableAt(), ns3::Ipv6RoutingHelper::PrintRoutingTableAt(), ns3::Ipv4RoutingHelper::PrintRoutingTableEvery(), ns3::Ipv6RoutingHelper::PrintRoutingTableEvery(), ns3::dsr::DsrRouting::PriorityScheduler(), ns3::olsr::RoutingProtocol::ProcessHna(), ns3::olsr::RoutingProtocol::ProcessMid(), ns3::olsr::RoutingProtocol::ProcessTc(), ns3::SubscriberStationNetDevice::ProcessUlMap(), Progress(), ThreeGppHttpObjectTestCase::ProgressCallback(), ns3::lrwpan::LrWpanCsmaCa::RandomBackoffDelay(), ns3::UanTransducerHd::Receive(), ns3::V4TraceRoute::Receive(), ns3::lrwpan::LrWpanMac::ReceiveBeacon(), ns3::TcpSocketBase::ReceivedData(), ns3::ThreeGppHttpServer::ReceivedDataCallback(), ns3::ApWifiMac::ReceiveEmlOmn(), ns3::MeshPointDevice::ReceiveFromDevice(), ns3::SixLowPanNetDevice::ReceiveFromDevice(), ns3::HtFrameExchangeManager::ReceiveMgtAction(), ns3::EhtFrameExchangeManager::ReceiveMpdu(), ns3::FrameExchangeManager::ReceiveMpdu(), ns3::HtFrameExchangeManager::ReceiveMpdu(), ns3::QosFrameExchangeManager::ReceiveMpdu(), ns3::UanMacRc::ReceiveOkFromPhy(), ns3::dot11s::HwmpProtocol::ReceivePrep(), ns3::dot11s::HwmpProtocol::ReceivePreq(), ns3::dsdv::RoutingProtocol::RecvDsdv(), ns3::UeManager::RecvHandoverRequestAck(), ns3::aodv::RoutingProtocol::RecvRequest(), ns3::UeManager::RecvRrcConnectionRequest(), ns3::Ipv4L3Protocol::RemoveDuplicates(), ns3::LteUePhy::ReportUeMeasurements(), ns3::DhcpClient::Request(), ns3::WifiTxTimer::Reschedule(), SampleEmitter::Reschedule(), ns3::RadioBearerStatsCalculator::RescheduleEndEpoch(), ns3::NullMessageSimulatorImpl::RescheduleNullMessageEvent(), ns3::TrickleTimer::Reset(), ns3::StaWifiMac::RestartBeaconWatchdog(), ns3::dot11s::HwmpProtocol::RetryPathDiscovery(), ns3::dsdv::RoutingProtocol::RouteOutput(), ns3::UanMacRc::RtsTimeout(), Bench::Run(), CollisionExperiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), InterferenceExperiment::Run(), MeshTest::Run(), NetAnimExperiment::Run(), PsrExperiment::Run(), Issue40TestCase::RunOne(), LargestIdlePrimaryChannelTest::RunOne(), SpectrumWifiPhy80Plus80Test::RunOne(), SpectrumWifiPhyFilterTest::RunOne(), SpectrumWifiPhyTrackedBandsTest::RunOne(), TestDlMuMimoPhyTransmission::RunOne(), TestDlOfdmaPhyPuncturing::RunOne(), TestDlOfdmaPhyTransmission::RunOne(), TestUlMuMimoPhyTransmission::RunOne(), TestUlOfdmaPhyTransmission::RunOne(), TestUlOfdmaPowerControl::RunOne(), WifiPhyCcaIndicationTest::RunOne(), ns3::RadioEnvironmentMapHelper::RunOneIteration(), Bug2470TestCase::RunSubtest(), TbfQueueDiscTestCase::RunTbfTest(), ThreeGppShadowingTestCase::RunTest(), ns3::OpenFlowSwitchNetDevice::RunThroughFlowTable(), TestMultipleHeTbPreambles::RxHeTbPpdu(), ns3::dsr::DsrRouting::ScheduleCachedReply(), ns3::ShowProgress::ScheduleCheckProgress(), ns3::UanMacRc::ScheduleData(), ns3::SsServiceFlowManager::ScheduleDsaReq(), ns3::BsServiceFlowManager::ScheduleDsaRsp(), ns3::PhyEntity::ScheduleEndOfMpdus(), ns3::ApWifiMac::ScheduleFilsDiscOrUnsolProbeRespFrames(), ns3::dsr::DsrRouting::ScheduleInterRequest(), ns3::MeshWifiInterfaceMac::ScheduleNextBeacon(), ns3::OnOffApplication::ScheduleNextTx(), ns3::NullMessageSimulatorImpl::ScheduleNullMessageEvent(), TestUlOfdmaPhyTransmission::SchedulePowerMeasurementChecks(), ns3::SSLinkManager::ScheduleScanningRestart(), ns3::OnOffApplication::ScheduleStartEvent(), ns3::OnOffApplication::ScheduleStopEvent(), TestUlMuMimoPhyTransmission::ScheduleTest(), TestUlOfdmaPhyTransmission::ScheduleTest(), WifiPhyCcaIndicationTest::ScheduleTest(), ns3::UdpEchoClient::ScheduleTransmit(), ns3::TutorialApp::ScheduleTx(), EpsBearerTagUdpClient::Send(), ns3::dsr::DsrRouting::Send(), ns3::lorawan::SimpleEndDeviceLoraPhy::Send(), ns3::lorawan::SimpleGatewayLoraPhy::Send(), ns3::PacketSocketClient::Send(), ns3::Ping::Send(), ns3::Radvd::Send(), ns3::TcpSocketBase::Send(), ns3::UdpClient::Send(), ns3::UdpTraceClient::Send(), ns3::HtFrameExchangeManager::SendAddBaResponse(), ns3::StaWifiMac::SendAssociationRequest(), ns3::BaseStationNetDevice::SendBursts(), ns3::QosFrameExchangeManager::SendCfEndIfNeeded(), ns3::FrameExchangeManager::SendCtsToSelf(), Ipv4DynamicGlobalRoutingTestCase::SendData(), ns3::LteTestPdcp::SendData(), ns3::LteTestRrc::SendData(), ns3::TcpSocketBase::SendDataPacket(), ns3::TcpSocketCongestedRouter::SendDataPacket(), TcpDctcpCongestedRouter::SendDataPacket(), ns3::TcpSocketBase::SendEmptyPacket(), ns3::TcpSocketSmallAcks::SendEmptyPacket(), ns3::aodv::RoutingProtocol::SendHello(), WifiPrimaryChannelsTest::SendHeTbPpdu(), ns3::LteUeRrc::SendMeasurementReport(), ns3::FrameExchangeManager::SendMpdu(), ns3::dot11s::HwmpProtocolMac::SendMyPerr(), ns3::dot11s::HwmpProtocolMac::SendMyPreq(), ns3::Icmpv6L4Protocol::SendNS(), ns3::ApWifiMac::SendOneBeacon(), AcousticModemEnergyDepletionTestCase::SendOnePacket(), AcousticModemEnergyTestCase::SendOnePacket(), ns3::lorawan::PeriodicSender::SendPacket(), ns3::TcpGeneralTest::SendPacket(), ns3::UanPhyGen::SendPacket(), Sender::SendPacket(), SendPacket(), SendPacket(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), ns3::dsdv::RoutingProtocol::SendPacketFromQueue(), UanExperiment::SendPackets(), ChainRegressionTest::SendPing(), ns3::olsr::Bug780Test::SendPing(), ns3::dot11s::HwmpProtocol::SendProactivePreq(), ns3::HtFrameExchangeManager::SendPsdu(), ns3::SSLinkManager::SendRangingRequest(), ns3::LteUeMac::SendRaPreamble(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::aodv::RoutingProtocol::SendRerrMessage(), ns3::Icmpv6L4Protocol::SendRS(), ns3::UanMacRc::SendRts(), ns3::LteEnbRrc::SendSystemInformation(), ns3::Rip::SendTriggeredRouteUpdate(), ns3::RipNg::SendTriggeredRouteUpdate(), ns3::LteTestMac::SendTxOpportunity(), ns3::Rip::SendUnsolicitedRouteUpdate(), ns3::RipNg::SendUnsolicitedRouteUpdate(), ns3::WifiTxTimer::Set(), ns3::MultiUserScheduler::SetAccessReqInterval(), ns3::dot11s::PeerLink::SetBeaconInformation(), ns3::dot11s::PeerLink::SetConfirmTimer(), ns3::RandomDirection2dMobilityModel::SetDirectionAndSpeed(), ns3::WifiRadioEnergyModel::SetEnergySource(), ns3::dot11s::PeerLink::SetHoldingTimer(), ns3::SetMovement(), ns3::WifiPhy::SetOperatingChannel(), ns3::StaWifiMac::SetPmModeAfterAssociation(), ns3::Ipv6PmtuCache::SetPmtu(), ns3::StaWifiMac::SetPowerSaveMode(), ns3::dot11s::PeerLink::SetRetryTimer(), ns3::SetSchedPosition(), EmlsrOperationsTestBase::SetSsid(), MultiLinkOperationsTestBase::SetSsid(), ns3::Ipv4L3Protocol::SetTimeout(), ns3::Ipv6ExtensionFragment::SetTimeout(), ns3::SixLowPanNetDevice::SetTimeout(), TestInterBssConstantObssPdAlgo::SetupSimulation(), ns3::MeshWifiInterfaceMac::ShiftTbtt(), ns3::dot11s::HwmpProtocol::ShouldSendPreq(), showPosition(), anonymous_namespace{sample-simulator.cc}::MyModel::Start(), ns3::DataCalculator::Start(), ns3::FdNetDevice::Start(), ns3::FlowMonitor::Start(), ns3::lrwpan::LrWpanCsmaCa::Start(), ns3::LteTestRrc::Start(), ns3::SpectrumAnalyzer::Start(), ns3::SteadyStateRandomWaypointMobilityModel::Start(), ns3::TapBridge::Start(), ns3::TvSpectrumTransmitter::Start(), ns3::WifiPhyRxTraceHelper::Start(), ns3::AnimationInterface::StartAnimation(), EpsBearerTagUdpClient::StartApplication(), ns3::DhcpServer::StartApplication(), ns3::lorawan::OneShotSender::StartApplication(), ns3::lorawan::PeriodicSender::StartApplication(), ns3::Radvd::StartApplication(), ns3::UdpClient::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::lrwpan::LrWpanMac::StartCAP(), ns3::lrwpan::LrWpanMac::StartCFP(), ns3::UanMacRcGw::StartCycle(), ns3::BaseStationNetDevice::StartDlSubFrame(), ns3::lrwpan::LrWpanMac::StartInactivePeriod(), ns3::PhyEntity::StartPreambleDetectionPeriod(), ns3::lorawan::SimpleEndDeviceLoraPhy::StartReceive(), ns3::lorawan::SimpleGatewayLoraPhy::StartReceive(), ns3::SimpleOfdmWimaxPhy::StartReceive(), ns3::PhyEntity::StartReceiveField(), ns3::HePhy::StartReceiveMuPayload(), ns3::HePhy::StartReceivePreamble(), ns3::HalfDuplexIdealPhy::StartRx(), ns3::lrwpan::LrWpanPhy::StartRx(), ns3::SpectrumAnalyzer::StartRx(), ns3::LteSpectrumPhy::StartRxData(), ns3::LteSpectrumPhy::StartRxDlCtrl(), ns3::UanPhyGen::StartRxPacket(), ns3::LteSpectrumPhy::StartRxUlSrs(), ns3::WimaxPhy::StartScanning(), ns3::SimpleOfdmWimaxPhy::StartSendDummyFecBlock(), WifiPhyCcaIndicationTest::StartSignal(), ns3::LteEnbPhy::StartSubFrame(), ns3::SSLinkManager::StartSynchronizing(), ns3::UanMacCw::StartTimer(), EmlsrCcaBusyTest::StartTraffic(), EmlsrDlTxopTest::StartTraffic(), EmlsrUlTxopTest::StartTraffic(), MultiLinkMuTxTest::StartTraffic(), ns3::EhtFrameExchangeManager::StartTransmission(), ns3::SimpleNetDevice::StartTransmission(), ns3::HalfDuplexIdealPhy::StartTx(), ns3::HePhy::StartTx(), ns3::MultiModelSpectrumChannel::StartTx(), ns3::SingleModelSpectrumChannel::StartTx(), ns3::LteSpectrumPhy::StartTxDataFrame(), ns3::LteSpectrumPhy::StartTxDlCtrlFrame(), ns3::LteSpectrumPhy::StartTxUlSrsFrame(), ns3::BaseStationNetDevice::StartUlSubFrame(), ns3::ArpCache::StartWaitReplyTimer(), ns3::V4TraceRoute::StartWaitReplyTimer(), BasicEnergyUpdateTest::StateSwitchTest(), ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk(), ns3::DataCalculator::Stop(), ns3::DefaultSimulatorImpl::Stop(), ns3::DistributedSimulatorImpl::Stop(), ns3::FdNetDevice::Stop(), ns3::FlowMonitor::Stop(), ns3::NullMessageSimulatorImpl::Stop(), ns3::RealtimeSimulatorImpl::Stop(), ns3::TapBridge::Stop(), ns3::WifiPhyRxTraceHelper::Stop(), ns3::LteUePhy::SubframeIndication(), ns3::EmlsrManager::SwitchAuxPhy(), ns3::EmlsrManager::SwitchMainPhy(), ns3::DefaultEmlsrManager::SwitchMainPhyBackToPrimaryLink(), TcPacketsInQueue(), ns3::tests::TrickleTimerTestCase::TestRedundancy(), ns3::tests::TrickleTimerTestCase::TestSteadyState(), Throughput(), ns3::DhcpServer::TimerHandler(), ns3::TcpSocketBase::TimeWait(), ns3::olsr::RoutingProtocol::TopologyTupleTimerExpire(), TraceDropsFrequency(), TraceFirstThroughput(), TraceMarksFrequency(), TraceN0Throughput(), TraceN1Throughput(), TraceSecondThroughput(), TraceThroughput(), ns3::AnimationInterface::TrackIpv4L3ProtocolCounters(), ns3::AnimationInterface::TrackIpv4Route(), ns3::AnimationInterface::TrackQueueCounters(), ns3::AnimationInterface::TrackWifiMacCounters(), ns3::AnimationInterface::TrackWifiPhyCounters(), ns3::QosFrameExchangeManager::TransmissionFailed(), ns3::FrameExchangeManager::TransmissionSucceeded(), ns3::HtFrameExchangeManager::TransmissionSucceeded(), ns3::QosFrameExchangeManager::TransmissionSucceeded(), BackoffGenerationTest::Transmit(), ns3::UanTransducerHd::Transmit(), StartSeqNoUpdateAfterAddBaTimeoutTest::Transmit(), WifiChannelSwitchingTest::Transmit(), WifiUseAvailBwTest::Transmit(), ns3::CsmaNetDevice::TransmitCompleteEvent(), ns3::CsmaChannel::TransmitEnd(), EmlsrCcaBusyTest::TransmitPacketToAp(), ns3::CsmaNetDevice::TransmitStart(), ns3::PointToPointNetDevice::TransmitStart(), ns3::lorawan::ClassAEndDeviceLorawanMac::TxFinished(), EmlOmnExchangeTest::TxOk(), ns3::EhtFrameExchangeManager::TxopEnd(), ns3::Ipv4L3Protocol::UpdateDuplicate(), ns3::energy::BasicEnergySource::UpdateEnergySource(), ns3::energy::GenericBatteryModel::UpdateEnergySource(), ns3::energy::LiIonEnergySource::UpdateEnergySource(), ns3::energy::RvBatteryModel::UpdateEnergySource(), ns3::energy::BasicEnergyHarvester::UpdateHarvestedPower(), ns3::FrameExchangeManager::UpdateNav(), ns3::BlockAckManager::UpdateOriginatorAgreement(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnRxEnd(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnRxStartIndication(), ns3::EhtFrameExchangeManager::UpdateTxopEndOnTxStart(), ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer(), BatteryLifetimeTest::VariableLoadTest(), ns3::LteUeRrc::VarMeasReportListAdd(), ns3::DpdkNetDevice::Write(), and ns3::AthstatsWifiTraceSink::WriteStats().

+ Here is the call graph for this function:

◆ Schedule() [3/3]

template<typename... Us, typename... Ts>
EventId ns3::Simulator::Schedule ( const Time & delay,
void(* )(Us...),
Ts &&... args )
static

Schedule an event to expire after delay.

This can be thought of as scheduling an event for the current simulation time plus the delay passed as a parameter.

Template Parameters
Us[deduced] Formal function argument types.
Ts[deduced] Actual function argument types. When the event expires (when it becomes due to be run), the function will be invoked with any supplied arguments.
Parameters
[in]delayThe relative expiration time of the event.
[in]fThe function to invoke.
[in]argsArguments to pass to the invoked function.
Returns
The id for the scheduled event.

Definition at line 567 of file simulator.h.

References DoSchedule(), and ns3::MakeEvent().

+ Here is the call graph for this function:

◆ ScheduleDestroy() [1/3]

EventId ns3::Simulator::ScheduleDestroy ( const Ptr< EventImpl > & event)
static

Schedule an event to run at the end of the simulation, after the Stop() time or condition has been reached.

Parameters
[in]eventThe event to schedule.
Returns
A unique identifier for the newly-scheduled event.

Definition at line 234 of file simulator.cc.

References DoScheduleDestroy(), and ns3::GetPointer().

+ Here is the call graph for this function:

◆ ScheduleDestroy() [2/3]

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > , std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > , typename... Ts>
EventId ns3::Simulator::ScheduleDestroy ( FUNC f,
Ts &&... args )
static

Schedule an event to run at the end of the simulation, when Simulator::Destroy() is called.

All events scheduled to expire at "Destroy" time are scheduled FIFO, after all normal events have expired and only when Simulator::Destroy is invoked.

We leverage SFINAE to discard this overload if the second argument is convertible to Ptr<EventImpl> or is a function pointer.

Template Parameters
FUNC[deduced] Template type for the function to invoke.
Ts[deduced] Actual function argument types.
Parameters
[in]fThe function to invoke.
[in]argsArguments to pass to MakeEvent.
Returns
The EventId of the scheduled event.

Definition at line 611 of file simulator.h.

References DoScheduleDestroy(), and ns3::MakeEvent().

Referenced by ns3::Mac16Address::Allocate(), ns3::Mac48Address::Allocate(), ns3::Mac64Address::Allocate(), ns3::Mac8Address::Allocate(), ns3::BuildingListPriv::DoGet(), ns3::ChannelListPriv::DoGet(), ns3::NodeListPriv::DoGet(), SimulatorEventsTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), ns3::SimulationSingleton< T >::GetObject(), and ns3::FdReader::Start().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ScheduleDestroy() [3/3]

template<typename... Us, typename... Ts>
EventId ns3::Simulator::ScheduleDestroy ( void(* )(Us...),
Ts &&... args )
static

Schedule an event to run at the end of the simulation, when Simulator::Destroy() is called.

All events scheduled to expire at "Destroy" time are scheduled FIFO, after all normal events have expired and only when Simulator::Destroy is invoked.

Template Parameters
Us[deduced] Formal function argument types.
Ts[deduced] Actual function argument types.
Parameters
[in]fThe function to invoke.
[in]argsArguments to pass to MakeEvent.
Returns
The EventId of the scheduled event.

Definition at line 618 of file simulator.h.

References DoScheduleDestroy(), and ns3::MakeEvent().

+ Here is the call graph for this function:

◆ ScheduleNow() [1/3]

EventId ns3::Simulator::ScheduleNow ( const Ptr< EventImpl > & event)
static

Schedule an event to run at the current virtual time.

Parameters
[in]eventThe event to schedule.
Returns
A unique identifier for the newly-scheduled event.

Definition at line 219 of file simulator.cc.

References DoScheduleNow(), and ns3::GetPointer().

+ Here is the call graph for this function:

◆ ScheduleNow() [2/3]

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > , std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > , typename... Ts>
EventId ns3::Simulator::ScheduleNow ( FUNC f,
Ts &&... args )
static

Schedule an event to expire Now.

All events scheduled to to expire "Now" are scheduled FIFO, after all normal events have expired.

We leverage SFINAE to discard this overload if the second argument is convertible to Ptr<EventImpl> or is a function pointer.

Template Parameters
FUNC[deduced] Template type for the function to invoke.
Ts[deduced] Actual function argument types.
Parameters
[in]fThe function to invoke.
[in]argsArguments to pass to the invoked function.
Returns
The EventId of the scheduled event.

Definition at line 594 of file simulator.h.

References DoScheduleNow(), and ns3::MakeEvent().

Referenced by ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(), ns3::GaussMarkovMobilityModel::GaussMarkovMobilityModel(), ns3::LteTestPdcp::LteTestPdcp(), AssociateIndication(), ns3::lrwpan::LrWpanCsmaCa::CanProceed(), SpectrumWifiPhyMultipleInterfacesTest::CheckInterferences(), TestDlMuMimoPhyTransmission::CheckPhyState(), TestDlOfdmaPhyPuncturing::CheckPhyState(), TestDlOfdmaPhyTransmission::CheckPhyState(), TestPhyPaddingExclusion::CheckPhyState(), TestUlMuMimoPhyTransmission::CheckPhyState(), TestUlOfdmaPhyTransmission::CheckPhyState(), WifiPhyCcaIndicationTest::CheckPhyState(), WifiPhyReceptionTest::CheckPhyState(), EmlsrUlTxopTest::CheckQosFrames(), ns3::lrwpan::LrWpanMac::CheckQueue(), ns3::ThreeGppHttpClient::ConnectionSucceededCallback(), LrWpanDataIfsTestCase::DataReceivedDev1(), ns3::NoBackhaulEpcHelper::DoActivateEpsBearerForUe(), ns3::LteFfrDistributedAlgorithm::DoInitialize(), ns3::SteadyStateRandomWaypointMobilityModel::DoInitializePrivate(), ns3::EpcUeNas::DoNotifyConnectionFailed(), ns3::LteUeRrc::DoRecvRrcConnectionReconfiguration(), AcousticModemEnergyDepletionTestCase::DoRun(), AcousticModemEnergyTestCase::DoRun(), LrWpanAckTestCase::DoRun(), LrWpanCcaTestCase::DoRun(), LrWpanEdTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpStateTestCase::DoRun(), SimulatorEventsTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), TestPhyDropDueToTx::DoRun(), ns3::GaussMarkovMobilityModel::DoSetPosition(), ns3::RandomDirection2dMobilityModel::DoSetPosition(), ns3::RandomWalk2dMobilityModel::DoSetPosition(), ns3::RandomWalk2dOutdoorMobilityModel::DoSetPosition(), ns3::RandomWaypointMobilityModel::DoSetPosition(), ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition(), ns3::WifiDefaultAssocManager::DoStartScanning(), ns3::LteEnbPhy::EndFrame(), ns3::lrwpan::LrWpanMac::EndStartRequest(), ns3::LteEnbPhy::EndSubFrame(), experiment(), ns3::WifiMacQueue::ExtractAllExpiredMpdus(), ns3::WifiMacQueue::ExtractExpiredMpdus(), ns3::SpectrumWifiPhy::FinalizeChannelSwitch(), ns3::QosTxop::NotifyChannelReleased(), ns3::Txop::NotifyChannelReleased(), ns3::dsr::DsrRouting::NotifyNewAggregate(), ns3::FrameExchangeManager::NotifySwitchingStartNow(), ns3::AlohaNoackNetDevice::NotifyTransmissionEnd(), ns3::EmlsrManager::NotifyTxopEnd(), OrphanIndication(), TestOrphanScan::OrphanIndicationCoord(), ns3::NetDeviceQueue::PacketDequeued(), ns3::ThreeGppHttpClient::ParseMainObject(), ns3::lrwpan::LrWpanMac::PdDataConfirm(), ns3::lrwpan::LrWpanMac::PdDataIndication(), ns3::lrwpan::LrWpanCsmaCa::PlmeCcaConfirm(), ns3::EhtFrameExchangeManager::PostProcessFrame(), ns3::TcpSocketBase::ProcessListen(), ns3::TcpSocketBase::ProcessSynSent(), ns3::Txop::Queue(), ns3::Ping::Receive(), ns3::V4TraceRoute::Receive(), ns3::lrwpan::LrWpanMac::ReceiveBeacon(), ns3::AdvancedEmlsrManager::ReceivedMacHdr(), ns3::ThreeGppHttpClient::ReceiveEmbeddedObject(), ns3::MemberLteEnbRrcSapProvider< C >::RecvIdealUeContextRemoveRequest(), ns3::MemberLteEnbRrcSapProvider< C >::RecvMeasurementReport(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionReconfiguration(), ns3::MemberLteEnbRrcSapProvider< C >::RecvRrcConnectionReconfigurationCompleted(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionReestablishment(), ns3::MemberLteEnbRrcSapProvider< C >::RecvRrcConnectionReestablishmentComplete(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionReestablishmentReject(), ns3::MemberLteEnbRrcSapProvider< C >::RecvRrcConnectionReestablishmentRequest(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionReject(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionRelease(), ns3::MemberLteEnbRrcSapProvider< C >::RecvRrcConnectionRequest(), ns3::MemberLteUeRrcSapProvider< C >::RecvRrcConnectionSetup(), ns3::MemberLteEnbRrcSapProvider< C >::RecvRrcConnectionSetupCompleted(), ns3::MemberLteUeRrcSapProvider< C >::RecvSystemInformation(), TestMultipleHeTbPreambles::RxHeTbPpduOfdmaPart(), ScanConfirm(), ns3::dsr::DsrRouting::ScheduleInitialReply(), ns3::Ipv4Interface::Send(), ns3::Ipv6Interface::Send(), ns3::TcpSocketBase::SendDataPacket(), ns3::TcpSocketCongestedRouter::SendDataPacket(), TcpDctcpCongestedRouter::SendDataPacket(), ns3::ApWifiMac::SetBeaconGeneration(), ns3::aodv::RoutingProtocol::SetIpv4(), ns3::dsdv::RoutingProtocol::SetIpv4(), ns3::BaseStationNetDevice::Start(), ns3::lrwpan::LrWpanCsmaCa::Start(), ns3::SubscriberStationNetDevice::Start(), ns3::WaveformGenerator::Start(), ns3::PacketSocketClient::StartApplication(), ns3::V4TraceRoute::StartApplication(), Sender::StartApplication(), SpectrumWifiPhyMultipleInterfacesTest::SwitchChannel(), EmlsrCcaBusyTest::TransmitPacketToAp(), and ns3::WifiMac::UnblockUnicastTxOnLinks().

+ Here is the call graph for this function:

◆ ScheduleNow() [3/3]

template<typename... Us, typename... Ts>
EventId ns3::Simulator::ScheduleNow ( void(* )(Us...),
Ts &&... args )
static

Schedule an event to expire Now.

All events scheduled to to expire "Now" are scheduled FIFO, after all normal events have expired.

Template Parameters
Us[deduced] Formal function argument types.
Ts[deduced] Actual function argument types.
Parameters
[in]fThe function to invoke.
[in]argsArguments to pass to MakeEvent.
Returns
The EventId of the scheduled event.

Definition at line 601 of file simulator.h.

References DoScheduleNow(), and ns3::MakeEvent().

+ Here is the call graph for this function:

◆ ScheduleWithContext() [1/3]

void ns3::Simulator::ScheduleWithContext ( uint32_t context,
const Time & delay,
EventImpl * event )
static

Schedule a future event execution (in a different context).

This method is thread-safe: it can be called from any thread.

Parameters
[in]delayDelay until the event expires.
[in]contextEvent context.
[in]eventThe event to schedule.

Definition at line 225 of file simulator.cc.

References ns3::Singleton< DesMetrics >::Get(), ns3::GetImpl(), Now(), ns3::SimulatorImpl::ScheduleWithContext(), and ns3::DesMetrics::TraceWithContext().

+ Here is the call graph for this function:

◆ ScheduleWithContext() [2/3]

template<typename FUNC , std::enable_if_t<!std::is_convertible_v< FUNC, Ptr< EventImpl > >, int > , std::enable_if_t<!std::is_function_v< std::remove_pointer_t< FUNC > >, int > , typename... Ts>
void ns3::Simulator::ScheduleWithContext ( uint32_t context,
const Time & delay,
FUNC f,
Ts &&... args )
static

Schedule an event with the given context.

A context of 0xffffffff means no context is specified. This method is thread-safe: it can be called from any thread.

We leverage SFINAE to discard this overload if the second argument is convertible to Ptr<EventImpl> or is a function pointer.

Template Parameters
FUNC[deduced] Template type for the function to invoke.
Ts[deduced] Argument types.
Parameters
[in]contextUser-specified context parameter
[in]delayThe relative expiration time of the event.
[in]fThe function to invoke.
[in]argsArguments to pass to MakeEvent.

Definition at line 577 of file simulator.h.

References ns3::MakeEvent(), and ScheduleWithContext().

Referenced by ns3::BuildingListPriv::Add(), ns3::NodeListPriv::Add(), ns3::Node::AddApplication(), ns3::Node::AddDevice(), Bug772ChainTest::CreateDevices(), ns3::LteEnbPhy::DoInitialize(), ns3::LteUePhy::DoInitialize(), CCAVulnerableWindowTest::DoRun(), IcmpEchoReplyTestCase::DoRun(), IcmpTimeExceedTestCase::DoRun(), IcmpV6EchoReplyTestCase::DoRun(), IcmpV6TimeExceedTestCase::DoRun(), Ipv4DeduplicationPerformanceTest::DoRun(), Ipv4FragmentationTest::DoRun(), Ipv4PacketInfoTagTest::DoRun(), Ipv6FragmentationTest::DoRun(), Ipv6PacketInfoTagTest::DoRun(), LrWpanDataIfsTestCase::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), ns3::TcpGeneralTest::DoRun(), SixlowpanFragmentationTest::DoRun(), TestActiveScanPanDescriptors::DoRun(), TestOrphanScan::DoRun(), TestRxOffWhenIdleAfterCsmaFailure::DoRun(), Ipv4DeduplicationPerformanceTest::DoSendData(), ns3::LteEnbRrcProtocolReal::DoSendSystemInformation(), FlameRegressionTest::InstallApplications(), HwmpDoRfRegressionTest::InstallApplications(), HwmpProactiveRegressionTest::InstallApplications(), HwmpReactiveRegressionTest::InstallApplications(), HwmpSimplestRegressionTest::InstallApplications(), ns3::TapBridge::ReadCallback(), ns3::FdNetDevice::ReceiveCallback(), SixlowpanIphcStatefulImplTest::ReceiveFromMockDevice(), ns3::GrantedTimeWindowMpiInterface::ReceiveMessages(), ns3::NullMessageMpiInterface::ReceiveMessages(), ScheduleWithContext(), ScheduleWithContext(), ThreadedSimulatorEventsTestCase::SchedulingThread(), ns3::ErrorChannel::Send(), ns3::LoopbackNetDevice::Send(), ns3::lorawan::LoraChannel::Send(), ns3::SimpleChannel::Send(), ns3::SimpleOfdmWimaxChannel::Send(), ns3::YansWifiChannel::Send(), Bug772ChainTest::SendData(), DynamicNeighborCacheTest::SendData(), DynamicNeighborCacheTest::SendData(), FlameRegressionTest::SendData(), HwmpProactiveRegressionTest::SendData(), HwmpReactiveRegressionTest::SendData(), HwmpSimplestRegressionTest::SendData(), Ipv4ForwardingTest::SendData(), Ipv4GlobalRoutingSlash32TestCase::SendData(), Ipv4RawSocketImplTest::SendData(), Ipv4RipCountToInfinityTest::SendData(), Ipv4RipTest::SendData(), Ipv4StaticRoutingSlash32TestCase::SendData(), Ipv6ForwardingTest::SendData(), Ipv6RawSocketImplTest::SendData(), Ipv6RipngCountToInfinityTest::SendData(), Ipv6RipngTest::SendData(), NixVectorRoutingTest::SendData(), NixVectorRoutingTest::SendData(), ns3::aodv::LoopbackTestCase::SendData(), SixlowpanHc1ImplTest::SendData(), SixlowpanIphcImplTest::SendData(), UdpSocketImplTest::SendData(), Ipv4RawSocketImplTest::SendData_IpHdr(), Ipv4HeaderTest::SendData_IpHdr_Dscp(), HwmpDoRfRegressionTest::SendDataA(), HwmpDoRfRegressionTest::SendDataB(), HwmpDoRfRegressionTest::SendDataC(), Udp6SocketImplTest::SendDataTo(), UdpSocketImplTest::SendDataTo(), ns3::LoopbackNetDevice::SendFrom(), Ipv4DeduplicationTest::SendPacket(), ns3::LteTestMac::SendTxOpportunity(), ns3::PyViz::SimulatorRunUntil(), ns3::LteTestRrc::Start(), ns3::MultiModelSpectrumChannel::StartTx(), ns3::SingleModelSpectrumChannel::StartTx(), ns3::CsmaChannel::TransmitEnd(), ns3::PointToPointChannel::TransmitStart(), and ns3::UanChannel::TxPacket().

+ Here is the call graph for this function:

◆ ScheduleWithContext() [3/3]

template<typename... Us, typename... Ts>
void ns3::Simulator::ScheduleWithContext ( uint32_t context,
const Time & delay,
void(* )(Us...),
Ts &&... args )
static

Schedule an event with the given context.

A context of 0xffffffff means no context is specified. This method is thread-safe: it can be called from any thread.

Template Parameters
Us[deduced] Formal function argument types.
Ts[deduced] Actual function argument types.
Parameters
[in]contextUser-specified context parameter
[in]delayThe relative expiration time of the event.
[in]fThe function to invoke.
[in]argsArguments to pass to the invoked function.

Definition at line 584 of file simulator.h.

References ns3::MakeEvent(), and ScheduleWithContext().

+ Here is the call graph for this function:

◆ SetImplementation()

void ns3::Simulator::SetImplementation ( Ptr< SimulatorImpl > impl)
static
Parameters
[in]implA new simulator implementation.

The simulator provides a mechanism to swap out different implementations. For example, the default implementation is a single-threaded simulator that performs no realtime synchronization. By calling this method, you can substitute in a new simulator implementation that might be multi- threaded and synchronize events to a realtime clock.

The simulator implementation can be set when the simulator is not running.

Definition at line 334 of file simulator.cc.

References ns3::DefaultNodePrinter(), ns3::DefaultTimePrinter(), ns3::g_schedTypeImpl, ns3::StringValue::Get(), ns3::GetPointer(), ns3::GlobalValue::GetValue(), ns3::LogSetNodePrinter(), ns3::LogSetTimePrinter(), NS_FATAL_ERROR, NS_LOG_FUNCTION, ns3::PeekImpl(), and ns3::ObjectFactory::SetTypeId().

+ Here is the call graph for this function:

◆ SetScheduler()

void ns3::Simulator::SetScheduler ( ObjectFactory schedulerFactory)
static

Set the scheduler type with an ObjectFactory.

Parameters
[in]schedulerFactoryThe configured ObjectFactory.

The event scheduler can be set at any time: the events scheduled in the previous scheduler will be transferred to the new scheduler before we start to use it.

Definition at line 153 of file simulator.cc.

References ns3::GetImpl(), NS_LOG_FUNCTION, and ns3::SimulatorImpl::SetScheduler().

Referenced by BenchSuite::BenchSuite(), SimulatorEventsTestCase::DoRun(), and ThreadedSimulatorEventsTestCase::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Stop() [1/2]

void ns3::Simulator::Stop ( )
static

Tell the Simulator the calling event should be the last one executed.

If a running event invokes this method, it will be the last event executed by the Simulator::Run method before returning to the caller.

Definition at line 175 of file simulator.cc.

References ns3::GetImpl(), NS_LOG_FUNCTION_NOARGS, NS_LOG_LOGIC, and ns3::SimulatorImpl::Stop().

Referenced by ns3::PyViz::CallbackStopSimulation(), DsdvManetExample::CaseRun(), Bench::Cb(), ThreeGppHttpObjectTestCase::ClientStateTransitionCallback(), BatteryLifetimeTest::ConstantLoadTest(), BasicEnergyDepletionTest::DepletionTestCase(), UanTest::DoOnePhyTest(), AcousticModemEnergyDepletionTestCase::DoRun(), AcousticModemEnergyTestCase::DoRun(), AidAssignmentTest::DoRun(), BackoffGenerationTest::DoRun(), BasicEnergyHarvesterTestCase::DoRun(), BlockAckAggregationDisabledTest::DoRun(), BriteTopologyFunctionTestCase::DoRun(), Bug2222TestCase::DoRun(), Bug2831TestCase::DoRun(), Bug2843TestCase::DoRun(), Bug730TestCase::DoRun(), Bug772ChainTest::DoRun(), CarrierAggregationConfigTestCase::DoRun(), CarrierAggregationTestCase::DoRun(), ChainRegressionTest::DoRun(), CobaltQueueDiscEnhancedBlueTest::DoRun(), DcfImmediateAccessBroadcastTestCase::DoRun(), DhcpTestCase::DoRun(), DownlinkPacketTest::DoRun(), DsssModulationTest::DoRun(), DynamicNeighborCacheTest::DoRun(), EmlOmnExchangeTest::DoRun(), EmlsrCcaBusyTest::DoRun(), EmlsrDlTxopTest::DoRun(), EmlsrLinkSwitchTest::DoRun(), EmlsrUlTxopTest::DoRun(), FlameRegressionTest::DoRun(), FqCobaltQueueDiscEcnMarking::DoRun(), FqCobaltQueueDiscL4sMode::DoRun(), FqCoDelQueueDiscECNMarking::DoRun(), FqCoDelQueueDiscL4sMode::DoRun(), FqPieQueueDiscL4sMode::DoRun(), HwmpDoRfRegressionTest::DoRun(), HwmpProactiveRegressionTest::DoRun(), HwmpReactiveRegressionTest::DoRun(), HwmpSimplestRegressionTest::DoRun(), IdealRateManagerChannelWidthTest::DoRun(), IdealRateManagerMimoTest::DoRun(), InterferenceHelperSequenceTest::DoRun(), Ipv4RipSplitHorizonStrategyTest::DoRun(), Ipv6RipngSplitHorizonStrategyTest::DoRun(), Issue169TestCase::DoRun(), Issue211Test::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaDataPhyErrorModelTestCase::DoRun(), LenaDlCtrlPhyErrorModelTestCase::DoRun(), LenaFdBetFfMacSchedulerTestCase1::DoRun(), LenaFdBetFfMacSchedulerTestCase2::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaHarqTestCase::DoRun(), LenaMimoTestCase::DoRun(), LenaPfFfMacSchedulerTestCase1::DoRun(), LenaPfFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaRrFfMacSchedulerTestCase::DoRun(), LenaTdBetFfMacSchedulerTestCase1::DoRun(), LenaTdBetFfMacSchedulerTestCase2::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), LiIonEnergyTestCase::DoRun(), LinkCheckTest::DoRun(), LrWpanSlottedCsmacaTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteCqiGenerationDlPowerControlTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), LteDownlinkPowerControlTestCase::DoRun(), LteEnbAntennaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteHandoverDelayTestCase::DoRun(), LteHandoverFailureTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteHardFrTestCase::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), LteInterferenceTestCase::DoRun(), LteIpv6RoutingTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), LtePrimaryCellChangeTestCase::DoRun(), LteRadioLinkFailureTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LteRlcAmTransmitterConcatenationTestCase::DoRun(), LteRlcAmTransmitterOneSduTestCase::DoRun(), LteRlcAmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcAmTransmitterSegmentationTestCase::DoRun(), LteRlcUmE2eTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), LteSecondaryCellHandoverTestCase::DoRun(), LteSecondaryCellSelectionTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteStrictFrAreaTestCase::DoRun(), LteStrictFrTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), LteUeMeasurementsPiecewiseTestCase3::DoRun(), LteUeMeasurementsTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), MobilityTraceTestCase::DoRun(), MultiLinkSetupTest::DoRun(), NixVectorRoutingTest::DoRun(), Ns2MobilityHelperTest::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), ns3::LenaDeactivateBearerTestCase::DoRun(), ns3::olsr::Bug780Test::DoRun(), ns3::olsr::HelloRegressionTest::DoRun(), ns3::olsr::TcRegressionTest::DoRun(), Ns3TcpCubicTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), Ns3TcpSocketTestCaseCsma::DoRun(), Ns3TcpSocketTestCaseP2P::DoRun(), Ns3TcpStateTestCase::DoRun(), Ns3WimaxManagementConnectionsTestCase::DoRun(), Ns3WimaxNetworkEntryTestCase::DoRun(), Ns3WimaxSfCreationTestCase::DoRun(), OfdmaAckSequenceTest::DoRun(), OrigBlockAckWindowStalled::DoRun(), OutdoorRandomWalkTestCase::DoRun(), PeerManagementProtocolRegressionTest::DoRun(), PhyConnectivityTest::DoRun(), PingTestCase::DoRun(), PreservePacketsInAmpdus::DoRun(), ProbeTestCase1::DoRun(), QosFragmentationTestCase::DoRun(), RadvdTestCase::DoRun(), ReleaseSeqNoAfterCtsTimeoutTest::DoRun(), SixlowpanIphcStatefulImplTest::DoRun(), SpectrumIdealPhyTestCase::DoRun(), SpectrumWifiPhyMultipleInterfacesTest::DoRun(), StartSeqNoUpdateAfterAddBaTimeoutTest::DoRun(), StaWifiMacScanningTestCase::DoRun(), SteadyStateRandomWaypointTest::DoRun(), TestActiveScanPanDescriptors::DoRun(), TestOrphanScan::DoRun(), TestUnsupportedModulationReception::DoRun(), UplinkPacketTest::DoRun(), WaveformGeneratorTestCase::DoRun(), WaypointMobilityModelAddWaypointTest::DoRun(), WaypointMobilityModelNotifyTest::DoRun(), WifiAcMappingTest::DoRun(), WifiChannelSwitchingTest::DoRun(), WifiFilsFrameTest::DoRun(), WifiMsduAggregatorThroughputTest::DoRun(), WifiPrimaryChannelsTest::DoRun(), WifiTxopTest::DoRun(), WifiUseAvailBwTest::DoRun(), Ns3WimaxSchedulingTestCase::DoRunOnce(), Ns3WimaxSFTypeTestCase::DoRunOnce(), Ns3WimaxSimpleOFDMTestCase::DoRunOnce(), ThreadedSimulatorEventsTestCase::EventA(), ThreadedSimulatorEventsTestCase::EventB(), ThreadedSimulatorEventsTestCase::EventC(), ThreadedSimulatorEventsTestCase::EventD(), experiment(), experiment(), ns3::RadioEnvironmentMapHelper::Finalize(), LteAggregationThroughputScaleTestCase::GetThroughput(), AnimationRemainingEnergyTestCase::PrepareNetwork(), AodvExample::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), Experiment::Run(), MeshTest::Run(), NeighborCacheExample::Run(), RoutingExperiment::Run(), TracerouteExample::Run(), AredQueueDiscTestCase::RunAredDiscTest(), CobaltQueueDiscDropTest::RunDropTest(), Issue40TestCase::RunOne(), TestUlOfdmaPowerControl::RunOne(), WifiTest::RunOne(), PieQueueDiscTestCase::RunPieTest(), Bug2470TestCase::RunSubtest(), TbfQueueDiscTestCase::RunTbfTest(), Ipv4GlobalRoutingSlash32TestCase::SendData(), Ipv4RipCountToInfinityTest::SendData(), Ipv4RipTest::SendData(), Ipv4StaticRoutingSlash32TestCase::SendData(), Ipv6RipngCountToInfinityTest::SendData(), Ipv6RipngTest::SendData(), AidAssignmentTest::SetSsid(), TestInterBssConstantObssPdAlgo::SetupSimulation(), MultiLinkMuTxTest::StartTraffic(), MultiLinkTxTest::StartTraffic(), BasicEnergyUpdateTest::StateSwitchTest(), ns3::DefaultSimulatorImpl::Stop(), ns3::DistributedSimulatorImpl::Stop(), ns3::NullMessageSimulatorImpl::Stop(), ns3::RealtimeSimulatorImpl::Stop(), TestDeterministic(), TestDeterministicByTime(), TestProbabilistic(), ns3::tests::TrickleTimerTestCase::TestRedundancy(), PowerRateAdaptationTest::TestRrpaa(), ns3::tests::TrickleTimerTestCase::TestSteadyState(), and BatteryLifetimeTest::VariableLoadTest().

+ Here is the call graph for this function:

◆ Stop() [2/2]

EventId ns3::Simulator::Stop ( const Time & delay)
static

Schedule the time delay until the Simulator should stop.

Force the Simulator::Run method to return to the caller when the expiration time of the next event to be processed is greater than or equal to the stop time. The stop time is relative to the current simulation time.

Parameters
[in]delayThe stop time, relative to the current time.
Returns
The stop EventId.

Definition at line 183 of file simulator.cc.

References ns3::GetImpl(), m_stopEvent, NS_LOG_FUNCTION, and ns3::SimulatorImpl::Stop().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_stopEvent

EventId ns3::Simulator::m_stopEvent
staticprivate

Stop event (if present)

Definition at line 523 of file simulator.h.

Referenced by GetStopEvent(), and Stop().


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