A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Standard time units.

Convenience constructors in standard units. More...

+ Collaboration diagram for Standard time units.:
Time ns3::Years (double value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Years (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Days (double value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Days (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Hours (double value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Hours (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Minutes (double value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Minutes (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Seconds (double value)
 Construct a Time in the indicated unit. More...
 
Time ns3::Seconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::MilliSeconds (uint64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::MilliSeconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::MicroSeconds (uint64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::MicroSeconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::NanoSeconds (uint64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::NanoSeconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::PicoSeconds (uint64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::PicoSeconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::FemtoSeconds (uint64_t value)
 Construct a Time in the indicated unit. More...
 
Time ns3::FemtoSeconds (int64x64_t value)
 Construct a Time in the indicated unit. More...
 

Detailed Description

Convenience constructors in standard units.

For example:

Time t = Seconds (2.0);

Function Documentation

Time ns3::Days ( double  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 821 of file nstime.h.

References ns3::Time::D, and ns3::Time::FromDouble().

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::Days ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 825 of file nstime.h.

References ns3::Time::D, and ns3::Time::From().

+ Here is the call graph for this function:

Time ns3::FemtoSeconds ( uint64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 885 of file nstime.h.

References ns3::Time::FromInteger(), and ns3::Time::FS.

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::FemtoSeconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 889 of file nstime.h.

References ns3::Time::From(), and ns3::Time::FS.

+ Here is the call graph for this function:

Time ns3::Hours ( double  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 829 of file nstime.h.

References ns3::Time::FromDouble(), and ns3::Time::H.

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::Hours ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 833 of file nstime.h.

References ns3::Time::From(), and ns3::Time::H.

+ Here is the call graph for this function:

Time ns3::MicroSeconds ( uint64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 861 of file nstime.h.

References ns3::Time::FromInteger(), and ns3::Time::US.

Referenced by DcfManagerTest::AddAccessRequestWithAckTimeout(), DcfManagerTest::AddAccessRequestWithSuccessfullAck(), DcfManagerTest::AddAckTimeoutReset(), DcfManagerTest::AddCcaBusyEvt(), DcfManagerTest::AddNavReset(), DcfManagerTest::AddNavStart(), DcfManagerTest::AddRxErrorEvt(), DcfManagerTest::AddRxInsideSifsEvt(), DcfManagerTest::AddRxOkEvt(), DcfManagerTest::AddRxStartEvt(), DcfManagerTest::AddSwitchingEvt(), DcfManagerTest::AddTxEvt(), ns3::Backoff::Backoff(), ns3::InterferenceHelper::CalculatePer(), ns3::WifiPhy::CalculateTxDuration(), ns3::WifiMac::Configure80211_10Mhz(), ns3::WifiMac::Configure80211_5Mhz(), ns3::WifiMac::Configure80211a(), ns3::WifiMac::Configure80211b(), ns3::WifiMac::Configure80211g(), ns3::WifiMac::Configure80211n_2_4Ghz(), ns3::WifiMac::Configure80211n_5Ghz(), ns3::MacLow::CreateBlockAckAgreement(), ns3::ApWifiMac::DoInitialize(), WatchdogTestCase::DoRun(), SimulatorEventsTestCase::DoRun(), TimeSimpleTestCase::DoRun(), WifiMsduAggregatorThroughputTest::DoRun(), ThreadedSimulatorEventsTestCase::DoRun(), Bug555TestCase::DoRun(), ThreadedSimulatorEventsTestCase::EventA(), SimulatorEventsTestCase::EventB(), ThreadedSimulatorEventsTestCase::EventB(), ThreadedSimulatorEventsTestCase::EventC(), ThreadedSimulatorEventsTestCase::EventD(), ns3::DcfManager::GetBackoffEndFor(), ns3::DcfManager::GetBackoffStartFor(), ns3::WifiMac::GetBasicBlockAckTimeout(), ns3::MeshWifiBeacon::GetBeaconInterval(), ns3::WifiMac::GetCompressedBlockAckTimeout(), ns3::WifiMac::GetDefaultBasicBlockAckDelay(), ns3::WifiMac::GetDefaultBasicBlockAckTimeout(), ns3::WifiMac::GetDefaultCompressedBlockAckDelay(), ns3::WifiMac::GetDefaultCompressedBlockAckTimeout(), ns3::WifiMac::GetDefaultCtsAckDelay(), ns3::WifiMac::GetDefaultCtsAckTimeout(), ns3::SubscriberStationNetDevice::GetDefaultLostDlMapInterval(), ns3::WifiMac::GetDefaultRifs(), ns3::WifiMac::GetDefaultSifs(), ns3::WifiMac::GetDefaultSlot(), ns3::WifiMacHeader::GetDuration(), ns3::InterferenceHelper::GetEnergyDuration(), ns3::ApWifiMac::GetTypeId(), ns3::dot11s::PeerLink::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::YansWifiPhy::GetTypeId(), main(), DcfManagerTest::NotifyAccessGranted(), DcfManagerTest::NotifyChannelSwitching(), DcfManagerTest::NotifyCollision(), ns3::BlockAckManager::NotifyGotBlockAck(), DcfManagerTest::NotifyInternalCollision(), ns3::LrWpanMac::PdDataConfirm(), PrintPsrVsCollisionInterval(), ns3::dsr::DsrRouting::PriorityScheduler(), ns3::LrWpanCsmaCa::RandomBackoffDelay(), ns3::dot11s::PeerManagementProtocolMac::Receive(), ns3::StaWifiMac::Receive(), ns3::dot11s::HwmpProtocol::ReceivePrep(), ns3::dot11s::HwmpProtocol::ReceivePreq(), ns3::dsdv::RoutingProtocol::RecvDsdv(), ns3::MacLow::ResetBlockAckInactivityTimerIfNeeded(), ns3::dsdv::RoutingProtocol::RouteOutput(), ThreadedSimulatorEventsTestCase::SchedulingThread(), ns3::MacLow::SendAckAfterData(), ns3::MacLow::SendBlockAckResponse(), ns3::MacLow::SendCtsAfterRts(), ns3::MacLow::SendDataAfterCts(), ns3::dsdv::RoutingProtocol::SendPeriodicUpdate(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::LteTestSinrChunkProcessor::Start(), ns3::LteChunkProcessor::Start(), ns3::dsdv::RoutingProtocol::Start(), DcfManagerTest::StartTest(), ns3::SingleModelSpectrumChannel::StartTx(), ns3::MultiModelSpectrumChannel::StartTx(), ns3::dot11s::PeerManagementProtocol::TuToTime(), ns3::BlockAckManager::UpdateAgreement(), and ns3::DcfManager::UpdateBackoff().

+ Here is the call graph for this function:

Time ns3::MicroSeconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 865 of file nstime.h.

References ns3::Time::From(), and ns3::Time::US.

+ Here is the call graph for this function:

Time ns3::MilliSeconds ( uint64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 853 of file nstime.h.

References ns3::Time::FromInteger(), and ns3::Time::MS.

Referenced by ns3::BSSchedulerRtps::BSSchedulerUGSConnection(), ns3::dsr::DsrRouting::CancelPacketTimerNextHop(), ns3::TimestampValueTestCase::Check(), ns3::ServiceFlow::CleanUpQueue(), ns3::LteEnbRrc::ConfigureCell(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::ConnectionReconfigurationEnb(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::ConnectionReconfigurationUe(), ns3::UplinkSchedulerMBQoS::DetermineDeadline(), LteFrAreaTestCase::DlDataRxStart(), LteCqiGenerationTestCase::DlScheduling(), LteInterferenceTestCase::DlScheduling(), LtePathlossModelSystemTestCase::DlScheduling(), ns3::LteEnbMac::DoAllocateNcRaPreamble(), ns3::Icmpv6L4Protocol::DoDAD(), ns3::LteRlcTm::DoNotifyTxOpportunity(), ns3::LteRlcUm::DoNotifyTxOpportunity(), RttTestCase::DoRun(), TimeSimpleTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LteRrcConnectionEstablishmentTestCase::DoRun(), CsmaBridgeTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), LteStrictFrAreaTestCase::DoRun(), CsmaBroadcastTestCase::DoRun(), ns3::aodv::RrepHeaderTest::DoRun(), LteSoftFrAreaTestCase::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), CsmaMulticastTestCase::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), Ns3TcpCwndTestCase2::DoRun(), ns3::aodv::AodvRtableEntryTest::DoRun(), CsmaOneSubnetTestCase::DoRun(), LteRrcConnectionEstablishmentErrorTestCase::DoRun(), CsmaPacketSocketTestCase::DoRun(), CsmaPingTestCase::DoRun(), CsmaRawIpSocketTestCase::DoRun(), ns3::LteUePhy::DoSetSrsConfigurationIndex(), ns3::LteEnbPhy::DoSetSrsConfigurationIndex(), ns3::TcpOptionTS::ElapsedTimeFromTsValue(), ns3::LteRlcTm::ExpireRbsTimer(), ns3::LteRlcUm::ExpireRbsTimer(), ns3::aodv::RrepHeader::GetLifeTime(), ns3::LteRlcAm::GetTypeId(), ns3::SpectrumAnalyzer::GetTypeId(), ns3::aodv::RoutingProtocol::GetTypeId(), ns3::UanMacCw::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::A3RsrpHandoverAlgorithm::GetTypeId(), ns3::LteUePhy::GetTypeId(), ns3::RedQueue::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::LteUeRrc::GetTypeId(), ns3::LteEnbRrc::GetTypeId(), ns3::Radvd::HandleRead(), ns3::BaseStationNetDevice::InitBaseStationNetDevice(), ns3::SubscriberStationNetDevice::InitSubscriberStationNetDevice(), ns3::ArpL3Protocol::Lookup(), LteCellSelectionTestSuite::LteCellSelectionTestSuite(), ns3::LteRlcAm::LteRlcAm(), LteX2HandoverTestSuite::LteX2HandoverTestSuite(), main(), ns3::LteUeRrc::MeasurementReportTriggering(), operator<<(), LteUplinkPowerControlTestCase::PucchTxPowerTrace(), LteUplinkPowerControlTestCase::PuschTxPowerTrace(), LteUeMeasurementsTestCase::RecvMeasurementReport(), ns3::aodv::RoutingProtocol::RecvRequest(), LteUeMeasurementsTestCase::ReportUeMeasurements(), ns3::UplinkSchedulerMBQoS::Schedule(), ns3::dsr::DsrRouting::ScheduleInterRequest(), ns3::SSScheduler::SelectConnection(), ns3::BSSchedulerSimple::SelectConnection(), ns3::Radvd::Send(), ns3::UdpTraceClient::Send(), ns3::dsr::DsrRouting::Send(), ns3::aodv::RoutingProtocol::SendHello(), ns3::LteUeRrc::SendMeasurementReport(), ns3::Icmpv6L4Protocol::SendNS(), ns3::dsr::DsrRouting::SendPacketFromBuffer(), ns3::dsdv::RoutingProtocol::SendPacketFromQueue(), ns3::LteUeMac::SendRaPreamble(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::aodv::RoutingProtocol::SendRerrMessage(), ns3::Icmpv6L4Protocol::SendRS(), ns3::aodv::RoutingProtocol::SetIpv4(), ns3::NscTcpL4Protocol::SetNode(), LteUplinkPowerControlTestCase::SrsTxPowerTrace(), ns3::NdiscCache::Entry::StartProbeTimer(), ns3::NdiscCache::Entry::StartReachableTimer(), ns3::NdiscCache::Entry::StartRetransmitTimer(), LteFrAreaTestCase::UlDataRxStart(), LteCqiGenerationTestCase::UlScheduling(), and LteInterferenceTestCase::UlScheduling().

+ Here is the call graph for this function:

Time ns3::MilliSeconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 857 of file nstime.h.

References ns3::Time::From(), and ns3::Time::MS.

+ Here is the call graph for this function:

Time ns3::Minutes ( double  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 837 of file nstime.h.

References ns3::Time::FromDouble(), and ns3::Time::MIN.

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::Minutes ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 841 of file nstime.h.

References ns3::Time::From(), and ns3::Time::MIN.

+ Here is the call graph for this function:

Time ns3::NanoSeconds ( uint64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 869 of file nstime.h.

References ns3::Time::FromInteger(), and ns3::Time::NS.

Referenced by ns3::InterferenceHelper::CalculateChunkSuccessRate(), Bench::Cb(), ns3::RlcTag::Deserialize(), ns3::PdcpTag::Deserialize(), TimestampTag::Deserialize(), ns3::SimpleOfdmWimaxPhy::DoGetTransmissionTime(), TimeSimpleTestCase::DoRun(), ns3::RedQueue::InitializeParams(), main(), ns3::Synchronizer::NanosecondToTimeStep(), and Bench::RunBench().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::NanoSeconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 873 of file nstime.h.

References ns3::Time::From(), and ns3::Time::NS.

+ Here is the call graph for this function:

Time ns3::PicoSeconds ( uint64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 877 of file nstime.h.

References ns3::Time::FromInteger(), and ns3::Time::PS.

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::PicoSeconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 881 of file nstime.h.

References ns3::Time::From(), and ns3::Time::PS.

+ Here is the call graph for this function:

Time ns3::Seconds ( double  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 845 of file nstime.h.

References ns3::Time::FromDouble(), and ns3::Time::S.

Referenced by ns3::AcousticModemEnergyModel::AcousticModemEnergyModel(), ns3::Ipv6Interface::AddAddress(), ns3::Node::AddApplication(), ns3::Node::AddDevice(), Ns2MobilityHelperTest::AddReferencePoint(), ns3::LteEnbRrc::AddUeMeasReportConfig(), Experiment::AdvancePosition(), OcbWifiMacTestCase::AdvancePosition(), AdvancePosition(), ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(), ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(), ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(), AodvRegressionTestSuite::AodvRegressionTestSuite(), Experiment::ApplicationSetup(), ns3::UanMacRc::Associate(), ns3::UanMacRc::AssociateTimeout(), ns3::CsmaNetDevice::Attach(), ns3::BasicEnergySource::BasicEnergySource(), ns3::RandomDirection2dMobilityModel::BeginPause(), ns3::RandomWaypointMobilityModel::BeginWalk(), ns3::SteadyStateRandomWaypointMobilityModel::BeginWalk(), BuildAppsTest(), ns3::UanPhyCalcSinrFhFsk::CalcSinrDb(), ns3::DistributedSimulatorImpl::CalculateLookAhead(), ns3::MacLow::CalculateOverallTxTime(), ns3::LrWpanPhy::CalculateTxTime(), ns3::PyViz::CallbackStopSimulation(), ns3::LrWpanCsmaCa::CanProceed(), DsdvManetExample::CaseRun(), ns3::TimestampValueTestCase::Check(), Ns2MobilityHelperTest::CheckInitialPositions(), CheckQueueSize(), ns3::aodv::AodvRqueueTest::CheckSizeLimit(), DsrSendBuffTest::CheckSizeLimit(), DsdvManetExample::CheckThroughput(), RoutingExperiment::CheckThroughput(), Experiment::CheckThroughput(), BatteryLifetimeTest::ConstantLoadTest(), ns3::BriteTopologyHelper::ConstructTopology(), Emitter::Count(), CreateBulkFlow(), PeerManagementProtocolRegressionTest::CreateDevices(), Bug772ChainTest::CreateDevices(), HwmpProactiveRegressionTest::CreateDevices(), FlameRegressionTest::CreateDevices(), HwmpDoRfRegressionTest::CreateDevices(), HwmpSimplestRegressionTest::CreateDevices(), HwmpReactiveRegressionTest::CreateDevices(), ChainRegressionTest::CreateDevices(), ns3::UanPdp::CreateImpulsePdp(), BatteryLifetimeTest::CreateLoadProfiles(), ns3::olsr::Bug780Test::CreateNodes(), HwmpSimplestRegressionTest::CreateNodes(), HwmpReactiveRegressionTest::CreateNodes(), MeshTest::CreateNodes(), WifiTest::CreateOne(), CreateOnOffFlow(), ns3::WimaxHelper::CreateUplinkScheduler(), ns3::CsmaNetDevice::CsmaNetDevice(), ns3::RadioEnvironmentMapHelper::DelayedInstall(), BasicEnergyDepletionTest::DepletionTestCase(), ns3::UanHeaderRcData::Deserialize(), ns3::UanHeaderRcRts::Deserialize(), ns3::UanHeaderRcCtsGlobal::Deserialize(), ns3::UanHeaderRcCts::Deserialize(), ns3::MacLowTransmissionParameters::DisableOverrideDurationId(), ns3::RvBatteryModel::Discharge(), ns3::DistributedSimulatorImpl::DistributedSimulatorImpl(), ns3::SimpleOfdmWimaxPhy::DoGetFrameDuration(), ns3::SimpleOfdmWimaxPhy::DoGetNrBytes(), ns3::SimpleOfdmWimaxPhy::DoGetNrSymbols(), ns3::SimpleOfdmWimaxPhy::DoGetTransmissionTime(), Emitter::DoInitialize(), ns3::MeshWifiInterfaceMac::DoInitialize(), ns3::RipNg::DoInitialize(), ns3::RandomWalk2dMobilityModel::DoInitializePrivate(), ns3::RandomWaypointMobilityModel::DoInitializePrivate(), ns3::SteadyStateRandomWaypointMobilityModel::DoInitializePrivate(), FakeNetDevice::Doit3(), UanTest::DoOnePhyTest(), UanTest::DoPhyTests(), ns3::LteTestMac::DoReportBufferStatus(), PointToPointTest::DoRun(), WatchdogTestCase::DoRun(), RttTestCase::DoRun(), ns3::aodv::NeighborTest::DoRun(), LiIonEnergyTestCase::DoRun(), ns3::aodv::LoopbackTestCase::DoRun(), TimeSimpleTestCase::DoRun(), LenaMimoTestCase::DoRun(), SteadyStateRandomWaypointTest::DoRun(), BasicEnergyHarvesterTestCase::DoRun(), SpectrumInterferenceTestCase::DoRun(), ns3::aodv::IdCacheTest::DoRun(), LrWpanCollisionTestCase::DoRun(), LenaHarqTestCase::DoRun(), MeshInformationElementVectorBist::DoRun(), LrWpanEdTestCase::DoRun(), LenaRrFfMacSchedulerTestCase::DoRun(), WaypointLazyNotifyFalse::DoRun(), LenaCqaFfMacSchedulerTestCase1::DoRun(), LteInterferenceHardFrTestCase::DoRun(), LenaDataPhyErrorModelTestCase::DoRun(), LteRlcAmE2eTestCase::DoRun(), LteRlcUmE2eTestCase::DoRun(), WaypointMobilityModelNotifyTest::DoRun(), OlsrMprTestCase::DoRun(), LteCqiGenerationTestCase::DoRun(), LteDownlinkDataSinrTestCase::DoRun(), LenaPfFfMacSchedulerTestCase1::DoRun(), LenaFdBetFfMacSchedulerTestCase1::DoRun(), WifiMsduAggregatorThroughputTest::DoRun(), LenaFdMtFfMacSchedulerTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), LenaPssFfMacSchedulerTestCase1::DoRun(), LenaTdBetFfMacSchedulerTestCase1::DoRun(), LenaTdMtFfMacSchedulerTestCase::DoRun(), LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), LenaTtaFfMacSchedulerTestCase::DoRun(), LteUplinkDataSinrTestCase::DoRun(), LrWpanErrorDistanceTestCase::DoRun(), LteLinkAdaptationTestCase::DoRun(), MobilityTraceTestCase::DoRun(), UdpClientServerTestCase::DoRun(), AcousticModemEnergyTestCase::DoRun(), Ipv4DynamicGlobalRoutingTestCase::DoRun(), OlsrMidTestCase::DoRun(), Ns3TcpNoDelayTestCase::DoRun(), LteInterferenceTestCase::DoRun(), Ns3WimaxSfCreationTestCase::DoRun(), Ns3TcpSocketTestCase1::DoRun(), LteFadingTestCase::DoRun(), LtePathlossModelSystemTestCase::DoRun(), TimerStateTestCase::DoRun(), Ns3WimaxNetworkEntryTestCase::DoRun(), LteEnbAntennaTestCase::DoRun(), NscTcpLossTestCase1::DoRun(), CsmaBridgeTestCase::DoRun(), LteX2HandoverTestCase::DoRun(), FlameRtableTest::DoRun(), ThreadedSimulatorEventsTestCase::DoRun(), LteDownlinkCtrlSinrTestCase::DoRun(), BatteryLifetimeTest::DoRun(), LteInterferenceStrictFrTestCase::DoRun(), Ns3TcpLossTestCase::DoRun(), LenaPfFfMacSchedulerTestCase2::DoRun(), LteUplinkSrsSinrTestCase::DoRun(), LenaCqaFfMacSchedulerTestCase2::DoRun(), Ns3TcpStateTestCase::DoRun(), LenaFdBetFfMacSchedulerTestCase2::DoRun(), LenaTdBetFfMacSchedulerTestCase2::DoRun(), LteDownlinkPowerControlTestCase::DoRun(), LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), LenaPssFfMacSchedulerTestCase2::DoRun(), LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), LteUeMeasurementsTestCase::DoRun(), ProbeTestCase1::DoRun(), LenaDlCtrlPhyErrorModelTestCase::DoRun(), LteHandoverDelayTestCase::DoRun(), ErrorModelSimple::DoRun(), Ipv6PacketInfoTagTest::DoRun(), LteRlcUmTransmitterOneSduTestCase::DoRun(), SpectrumIdealPhyTestCase::DoRun(), LteRlcAmTransmitterOneSduTestCase::DoRun(), LteUplinkOpenLoopPowerControlTestCase::DoRun(), LteHardFrTestCase::DoRun(), EpcS1uDlTestCase::DoRun(), OcbWifiMacTestCase::DoRun(), Ipv4PacketInfoTagTest::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteDownlinkPowerControlRrcConnectionReconfigurationTestCase::DoRun(), Ns3TcpInteroperabilityTestCase::DoRun(), LteUplinkClosedLoopPowerControlAbsoluteModeTestCase::DoRun(), HwmpRtableTest::DoRun(), LteRlcUmTransmitterSegmentationTestCase::DoRun(), LteRlcAmTransmitterSegmentationTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), Ipv4FragmentationTest::DoRun(), BriteTopologyFunctionTestCase::DoRun(), SixlowpanFragmentationTest::DoRun(), LteUplinkClosedLoopPowerControlAccumulatedModeTestCase::DoRun(), TimerTemplateTestCase::DoRun(), LteCellSelectionTestCase::DoRun(), LteStrictFrTestCase::DoRun(), DsdvTableTestCase::DoRun(), WaypointLazyNotifyTrue::DoRun(), LteRlcUmTransmitterConcatenationTestCase::DoRun(), LteRlcAmTransmitterConcatenationTestCase::DoRun(), Ns3WimaxManagementConnectionsTestCase::DoRun(), LteHandoverTargetTestCase::DoRun(), LteRlcUmTransmitterReportBufferStatusTestCase::DoRun(), LteRlcAmTransmitterReportBufferStatusTestCase::DoRun(), UdpTraceClientServerTestCase::DoRun(), Ipv6FragmentationTest::DoRun(), LteUeMeasurementsPiecewiseTestCase1::DoRun(), BurstErrorModelSimple::DoRun(), OlsrHelloTestCase::DoRun(), Ns3TcpSocketTestCase2::DoRun(), WaypointInitialPositionIsWaypoint::DoRun(), LteStrictFrAreaTestCase::DoRun(), CsmaBroadcastTestCase::DoRun(), NscTcpLossTestCase2::DoRun(), ns3::aodv::RrepHeaderTest::DoRun(), LteSoftFrAreaTestCase::DoRun(), SimulatorTemplateTestCase::DoRun(), Ns3TcpCwndTestCase1::DoRun(), LteSoftFfrAreaTestCase::DoRun(), LteEnhancedFfrAreaTestCase::DoRun(), AcousticModemEnergyDepletionTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), InterferenceHelperSequenceTest::DoRun(), LteUeMeasurementsPiecewiseTestCase2::DoRun(), ns3::aodv::QueueEntryTest::DoRun(), UdpEchoClientSetFillTestCase::DoRun(), EpcS1uUlTestCase::DoRun(), CsmaMulticastTestCase::DoRun(), WaypointMobilityModelViaHelper::DoRun(), ns3::aodv::AodvRqueueTest::DoRun(), ns3::TimestampValueTestCase::DoRun(), DsrCacheEntryTest::DoRun(), LteUeMeasurementsHandoverTestCase::DoRun(), Bug555TestCase::DoRun(), Ns3TcpCwndTestCase2::DoRun(), DsrSendBuffTest::DoRun(), ns3::aodv::AodvRtableEntryTest::DoRun(), CsmaOneSubnetTestCase::DoRun(), Ipv6RipngSplitHorizonStrategyTest::DoRun(), ns3::aodv::AodvRtableTest::DoRun(), CsmaPacketSocketTestCase::DoRun(), AttributeTestCase< T >::DoRun(), CsmaPingTestCase::DoRun(), CsmaRawIpSocketTestCase::DoRun(), CsmaStarTestCase::DoRun(), Ns3WimaxSchedulingTestCase::DoRunOnce(), Ns3WimaxSimpleOFDMTestCase::DoRunOnce(), Ns3WimaxSFTypeTestCase::DoRunOnce(), ns3::SimpleOfdmWimaxPhy::DoSetPhyParameters(), ns3::LteTestMac::DoTransmitPdu(), ns3::RandomWalk2dMobilityModel::DoWalk(), ns3::GaussMarkovMobilityModel::DoWalk(), ns3::dsr::DsrRouting::DsrRouting(), ns3::TcpOptionTS::ElapsedTimeFromTsValue(), Emitter::Emit(), LteHandoverDelayTestCase::EnbHandoverEndOkCallback(), ns3::UanMacRcGw::EndCycle(), ns3::BaseStationNetDevice::EndDlSubFrame(), ns3::SimpleOfdmWimaxPhy::EndReceiveFecBlock(), ns3::UanTransducerHd::EndTx(), ns3::BaseStationNetDevice::EndUlSubFrame(), ns3::UanMacCw::Enqueue(), ns3::ErrorChannelSixlow::ErrorChannelSixlow(), ns3::RttEstimator::EstimateRttFromSeq(), experiment(), ns3::Icmpv6L4Protocol::FunctionDadTimeout(), GenerateTraffic(), ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(), ns3::SimpleOfdmWimaxPhy::GetBlockTransmissionTime(), ns3::MinstrelWifiManager::GetCalcTxTime(), ns3::WifiMac::GetDefaultMaxPropagationDelay(), ns3::UanPropModelIdeal::GetDelay(), ns3::UanPropModelThorp::GetDelay(), ns3::RandomPropagationDelayModel::GetDelay(), ns3::ConstantSpeedPropagationDelayModel::GetDelay(), ns3::WifiPhyStateHelper::GetDelayUntilIdle(), ns3::MacLowTransmissionParameters::GetDurationId(), ns3::aodv::Neighbors::GetExpireTime(), ns3::dsr::RouteCache::GetExpireTime(), ns3::olsr::MessageHeader::Hello::GetHTime(), ns3::WifiMac::GetMsduLifetime(), ns3::LrWpanPhy::GetPpduHeaderTxTime(), ns3::dsdv::RoutingProtocol::GetSettlingTime(), ns3::FlowMonitor::GetStatsForFlow(), ns3::ArpCache::Entry::GetTimeout(), ns3::SubscriberStationNetDevice::GetTimeToAllocation(), ns3::LrWpanCsmaCa::GetTimeToNextSlot(), ns3::BasicEnergySource::GetTypeId(), ns3::RraaWifiManager::GetTypeId(), ns3::LteFfrDistributedAlgorithm::GetTypeId(), ns3::AmrrWifiManager::GetTypeId(), ns3::RealtimeSimulatorImpl::GetTypeId(), ns3::OnoeWifiManager::GetTypeId(), ns3::UdpEchoClient::GetTypeId(), ns3::StaWifiMac::GetTypeId(), ns3::Probe::GetTypeId(), ns3::RandomWalk2dMobilityModel::GetTypeId(), ns3::dot11s::HwmpProtocol::GetTypeId(), ns3::UdpClient::GetTypeId(), ns3::PointToPointChannel::GetTypeId(), ns3::TraceFadingLossModel::GetTypeId(), ns3::V4Ping::GetTypeId(), ns3::BasicEnergyHarvester::GetTypeId(), ns3::Ping6::GetTypeId(), ns3::SimpleChannel::GetTypeId(), ns3::RvBatteryModel::GetTypeId(), ns3::WifiMacQueue::GetTypeId(), ns3::Ipv6PmtuCache::GetTypeId(), ns3::EmuNetDevice::GetTypeId(), ns3::aodv::RoutingProtocol::GetTypeId(), ns3::dsdv::RoutingProtocol::GetTypeId(), ns3::MeshWifiInterfaceMac::GetTypeId(), ns3::PacketSocketClient::GetTypeId(), ns3::WaveformGenerator::GetTypeId(), ns3::PointToPointNetDevice::GetTypeId(), ns3::BaseStationNetDevice::GetTypeId(), ns3::WimaxPhy::GetTypeId(), ns3::SubscriberStationNetDevice::GetTypeId(), ns3::PointToPointEpcHelper::GetTypeId(), ns3::flame::FlameRtable::GetTypeId(), ns3::Application::GetTypeId(), ns3::UanMacRcGw::GetTypeId(), ns3::BridgeNetDevice::GetTypeId(), EpsBearerTagUdpClient::GetTypeId(), ns3::ArpCache::GetTypeId(), ns3::TcpSocket::GetTypeId(), ns3::RttEstimator::GetTypeId(), ns3::LiIonEnergySource::GetTypeId(), ns3::UplinkSchedulerMBQoS::GetTypeId(), ns3::CsmaChannel::GetTypeId(), ns3::olsr::RoutingProtocol::GetTypeId(), ns3::SixLowPanNetDevice::GetTypeId(), ns3::flame::FlameProtocol::GetTypeId(), ns3::GaussMarkovMobilityModel::GetTypeId(), ns3::RadioBearerStatsCalculator::GetTypeId(), ns3::AthstatsWifiTraceSink::GetTypeId(), ns3::FdNetDevice::GetTypeId(), AttributeObjectTest::GetTypeId(), ns3::Ipv4L3Protocol::GetTypeId(), ns3::MinstrelWifiManager::GetTypeId(), ns3::dsr::DsrRouting::GetTypeId(), ns3::TapBridge::GetTypeId(), ns3::FlowMonitor::GetTypeId(), ns3::UanMacRc::GetTypeId(), ns3::RipNg::GetTypeId(), ns3::olsr::MessageHeader::GetVTime(), ns3::MacLowTransmissionParameters::HasDurationId(), ns3::aodv::RoutingProtocol::HelloTimerExpire(), ns3::BaseStationNetDevice::InitBaseStationNetDevice(), ns3::SubscriberStationNetDevice::InitSubscriberStationNetDevice(), ns3::RadioEnvironmentMapHelper::Install(), ns3::WimaxHelper::Install(), MeshTest::InstallApplication(), HwmpProactiveRegressionTest::InstallApplications(), FlameRegressionTest::InstallApplications(), AodvExample::InstallApplications(), HwmpDoRfRegressionTest::InstallApplications(), HwmpSimplestRegressionTest::InstallApplications(), DsdvManetExample::InstallApplications(), HwmpReactiveRegressionTest::InstallApplications(), AodvExample::InstallInternetStack(), DsdvManetExample::InstallInternetStack(), ns3::Probe::IsEnabled(), LenaTestPhyErrorModelSuite::LenaTestPhyErrorModelSuite(), ns3::olsr::RoutingProtocol::LinkSensing(), ns3::dot11s::HwmpRtable::LookupReactive(), LrWpanAckTestCase::LrWpanAckTestCase(), ns3::LrWpanPhy::LrWpanPhy(), LteHandoverDelayTestSuite::LteHandoverDelayTestSuite(), LteRrcTestSuite::LteRrcTestSuite(), ns3::AnimationInterface::LteRxTrace(), ns3::AnimationInterface::LteSpectrumPhyRxStart(), ns3::AnimationInterface::LteSpectrumPhyTxStart(), ns3::LteTestMac::LteTestMac(), ns3::AnimationInterface::LteTxTrace(), LteUeMeasurementsHandoverTestSuite::LteUeMeasurementsHandoverTestSuite(), LteX2HandoverMeasuresTestSuite::LteX2HandoverMeasuresTestSuite(), ns3::MacLow::MacLow(), main(), ns3::BaseStationNetDevice::MarkUplinkAllocations(), modify(), ns3::MacLow::NavCounterResetCtsMissed(), Bug555TestCase::NotifyPhyTxBegin(), ns3::MacLow::NotifySleepNow(), ns3::MacLow::NotifySwitchingStartNow(), Ns2MobilityHelperTestSuite::Ns2MobilityHelperTestSuite(), ns3::NullMessageSimulatorImpl::NullMessageSimulatorImpl(), ns3::aodv::IsExpired::operator()(), ns3::dsr::IsExpired::operator()(), ns3::dsdv::IsExpired::operator()(), ns3::operator>>(), ns3::SSLinkManager::PerformBackoff(), ns3::TcpSocketBase::PersistTimeout(), ns3::LrWpanPhy::PlmeCcaRequest(), ns3::LrWpanPhy::PlmeEdRequest(), ns3::LrWpanPhy::PlmeSetTRXStateRequest(), OcbWifiMacTestCase::PostDeviceConfiguration(), AnimationInterfaceTestCase::PrepareNetwork(), AnimationRemainingEnergyTestCase::PrepareNetwork(), PrintCellInfo(), ns3::dsr::DsrRouting::PriorityScheduler(), ns3::Ipv6ExtensionFragment::Process(), ns3::BSLinkManager::ProcessRangingRequest(), ns3::SubscriberStationNetDevice::ProcessUlMap(), Progress(), ns3::aodv::RoutingTable::Purge(), ns3::dsr::RouteCache::Purge(), ns3::dsr::RouteCache::PurgeLinkNode(), ns3::TapBridge::ReadCallback(), ns3::EmuNetDevice::ReadThread(), ns3::UanTransducerHd::Receive(), ns3::dsr::RreqTable::RemoveLeastExpire(), ns3::flame::FlameProtocol::RemoveRoutingStuff(), ns3::FlowMonitor::ReportFirstTx(), ns3::FlowMonitor::ReportLastRx(), ns3::aodv::RoutingProtocol::RerrRateLimitTimerExpire(), SampleEmitter::Reschedule(), ns3::RttMeanDeviation::Reset(), ns3::aodv::RoutingProtocol::RreqRateLimitTimerExpire(), ns3::UanMacRc::RtsTimeout(), NetAnimExperiment::Run(), AodvExample::Run(), PsrExperiment::Run(), MeshTest::Run(), Experiment::Run(), RoutingExperiment::Run(), CollisionExperiment::Run(), WifiTest::RunOne(), ns3::RadioEnvironmentMapHelper::RunOneIteration(), ns3::RvBatteryModel::RvBatteryModel(), ns3::UanMacRc::ScheduleData(), ns3::OnOffApplication::ScheduleNextTx(), ns3::OnOffApplication::ScheduleStartEvent(), ns3::OnOffApplication::ScheduleStopEvent(), MyApp::ScheduleTx(), SimpleSource::ScheduleTx(), ns3::ErrorChannel::Send(), ns3::ErrorChannelSixlow::Send(), ns3::LoopbackNetDevice::Send(), ns3::SimpleOfdmWimaxChannel::Send(), ns3::BaseStationNetDevice::SendBursts(), ns3::MacLow::SendCtsToSelf(), Ipv4DynamicGlobalRoutingTestCase::SendData(), Ipv4StaticRoutingSlash32TestCase::SendData(), Ipv6ForwardingTest::SendData(), Ipv6RipngTest::SendData(), Ipv4RawSocketImplTest::SendData(), Ipv6RawSocketImplTest::SendData(), Ipv4ForwardingTest::SendData(), SixlowpanHc1ImplTest::SendData(), SixlowpanIphcImplTest::SendData(), UdpSocketImplTest::SendData(), Ipv6RipngCountToInfinityTest::SendData(), Ipv4GlobalRoutingSlash32TestCase::SendData(), Udp6SocketImplTest::SendData(), Ipv4RawSocketImplTest::SendData_IpHdr(), Ipv4HeaderTest::SendData_IpHdr_Dscp(), ns3::MacLow::SendDataAfterCts(), ns3::MacLow::SendDataPacket(), ns3::LoopbackNetDevice::SendFrom(), ns3::SimpleNetDevice::SendFrom(), ns3::LteUeRrc::SendMeasurementReport(), AcousticModemEnergyTestCase::SendOnePacket(), AcousticModemEnergyDepletionTestCase::SendOnePacket(), Sender::SendPacket(), ns3::UanMacCw::SendPacket(), ns3::UanPhyGen::SendPacket(), ns3::aodv::RoutingProtocol::SendRequest(), ns3::UanMacRc::SendRts(), ns3::MacLow::SendRtsForPacket(), ns3::RipNg::SendTriggeredRouteUpdate(), ns3::LteTestMac::SendTxOpportunity(), ns3::RipNg::SendUnsolicitedRouteUpdate(), ns3::ServiceFlowRecord::ServiceFlowRecord(), ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(), ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(), ns3::dot11s::PeerLink::SetBeaconInformation(), ns3::dot11s::PeerManagementProtocolMac::SetBeaconShift(), ns3::YansWifiPhy::SetChannelNumber(), ns3::RandomDirection2dMobilityModel::SetDirectionAndSpeed(), ns3::SetMovement(), ns3::Ipv6PmtuCache::SetPmtuValidityTime(), ns3::dot11s::HwmpProtocol::SetRoot(), ns3::SetSchedPosition(), ns3::UanPdp::SetTap(), SetTimeout(), ns3::LteTestMac::SetTxOpportunityMode(), showPosition(), ns3::SimpleDeviceEnergyModel::SimpleDeviceEnergyModel(), ns3::PyViz::SimulatorRunUntil(), MyModel::Start(), ns3::SteadyStateRandomWaypointMobilityModel::Start(), ns3::aodv::RoutingProtocol::Start(), ns3::SubscriberStationNetDevice::Start(), ns3::UdpClient::StartApplication(), EpsBearerTagUdpClient::StartApplication(), ns3::Ping6::StartApplication(), ns3::Radvd::StartApplication(), ns3::UdpTraceClient::StartApplication(), ns3::UdpEchoClient::StartApplication(), ns3::UanMacRcGw::StartCycle(), ns3::NdiscCache::Entry::StartDelayTimer(), ns3::BaseStationNetDevice::StartDlSubFrame(), ns3::Ipv6AutoconfiguredPrefix::StartPreferredTimer(), ns3::UanPhyGen::StartRxPacket(), ns3::LteEnbPhy::StartSubFrame(), ns3::HalfDuplexIdealPhy::StartTx(), ns3::BaseStationNetDevice::StartUlSubFrame(), ns3::Ipv6AutoconfiguredPrefix::StartValidTimer(), BasicEnergyUpdateTest::StateSwitchTest(), ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateBeginWalk(), ns3::LteUePhy::SubframeIndication(), ns3::UanPdp::SumTapsC(), ns3::UanPdp::SumTapsFromMaxC(), ns3::UanPdp::SumTapsFromMaxNc(), ns3::UanPdp::SumTapsNc(), ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(), test(), TestDeterministic(), HwmpRtableTest::TestPrecursorAdd(), TestProbabilistic(), python-unit-tests.TestSimulator::testSchedule(), python-unit-tests.TestSimulator::testScheduleDestroy(), python-unit-tests.TestSimulator::testTimeComparison(), python-unit-tests.TestSimulator::testTimeNumericOperations(), ns3::TcpSocketBase::TimeWait(), ProbeTestCase1::TraceSink(), ns3::UanTransducerHd::Transmit(), ns3::SimpleNetDevice::TransmitComplete(), ns3::PointToPointNetDevice::TransmitStart(), ns3::CsmaNetDevice::TransmitStart(), ns3::UanPdp::UanPdp(), LteHandoverDelayTestCase::UeHandoverEndOkCallback(), ns3::WaypointMobilityModel::Update(), ns3::MinstrelWifiManager::UpdateStats(), ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(), ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(), BatteryLifetimeTest::VariableLoadTest(), ns3::WifiRadioEnergyModel::WifiRadioEnergyModel(), WifiInterferenceTestCase::WifiSimpleInterference(), ns3::WimaxNetDevice::WimaxNetDevice(), ns3::AnimationInterface::WimaxRxTrace(), and ns3::AnimationInterface::WimaxTxTrace().

+ Here is the call graph for this function:

Time ns3::Seconds ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 849 of file nstime.h.

References ns3::Time::From(), and ns3::Time::S.

+ Here is the call graph for this function:

Time ns3::Years ( double  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 813 of file nstime.h.

References ns3::Time::FromDouble(), and ns3::Time::Y.

Referenced by TimeSimpleTestCase::DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Time ns3::Years ( int64x64_t  value)
inline

Construct a Time in the indicated unit.

Parameters
valueThe value
Returns
The Time

Definition at line 817 of file nstime.h.

References ns3::Time::From(), and ns3::Time::Y.

+ Here is the call graph for this function: