From e45db80b8b15a9c7423439c9ef4941bf1f1a87a1 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Mon, 1 Feb 2016 14:52:17 -0800 Subject: [PATCH] core: (documentation) fix stale code sample --- src/core/model/wall-clock-synchronizer.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/model/wall-clock-synchronizer.h b/src/core/model/wall-clock-synchronizer.h index b6ecddd6b..b9dc9abdd 100644 --- a/src/core/model/wall-clock-synchronizer.h +++ b/src/core/model/wall-clock-synchronizer.h @@ -35,10 +35,13 @@ namespace ns3 { * @brief Class used for synchronizing the simulation events to a real-time * "wall clock" using Posix clock functions. * - * Enable this synchronizer using: + * This synchronizer is used as part of the RealtimeSimulatorImpl. It is + * typically not explicitly enabled by users but instead is implicitly + * enabled when the simulator implementation type is set to real-time; e.g.: * * @code - * DefaultValue::Bind ("Synchronizer", "WallClockSynchronizer"); + * GlobalValue::Bind ("SimulatorImplementationType", + * StringValue ("ns3::RealtimeSimulatorImpl")); * @endcode * * before calling any simulator functions.