A Discrete-Event Network Simulator
API
Realtime Simulator

Realtime simulator implementation. More...

+ Collaboration diagram for Realtime Simulator:

Files

file  realtime-simulator-impl.cc
 ns3::RealTimeSimulatorImpl implementation.
 
file  realtime-simulator-impl.h
 ns3::RealTimeSimulatorImpl declaration.
 
file  synchronizer.cc
 ns3::Synchronizer implementation.
 
file  synchronizer.h
 ns3::Synchronizer declaration.
 
file  wall-clock-synchronizer.cc
 ns3::WallClockSynchronizer implementation.
 
file  wall-clock-synchronizer.h
 ns3::WallClockSynchronizer declaration.
 

Classes

class  ns3::RealtimeSimulatorImpl
 Realtime version of SimulatorImpl. More...
 
class  ns3::Synchronizer
 Base class used for synchronizing the simulation events to some real time "wall clock.". More...
 
class  ns3::WallClockSynchronizer
 Class used for synchronizing the simulation events to a real-time "wall clock" using Posix clock functions. More...
 

Enumerations

enum  ns3::RealtimeSimulatorImpl::SynchronizationMode { ns3::RealtimeSimulatorImpl::SYNC_BEST_EFFORT, ns3::RealtimeSimulatorImpl::SYNC_HARD_LIMIT }
 What to do when we can't maintain real time synchrony. More...
 

Detailed Description

Realtime simulator implementation.

Enumeration Type Documentation

What to do when we can't maintain real time synchrony.

Enumerator
SYNC_BEST_EFFORT 

Make a best effort to keep synced to real-time.

If we fall behind, keep going.

SYNC_HARD_LIMIT 

Keep to real time within the hard limit tolerance configured with SetHardLimit, or die trying.

Falling behind by more than the hard limit tolerance triggers a fatal error.

See also
SetHardLimit

Definition at line 68 of file realtime-simulator-impl.h.