From 9ba60294d42f05462aab2e6cfcd09d3cd998cd7c Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sat, 14 Jul 2018 07:57:49 -0700 Subject: [PATCH] traffic-control: (fixes #2940) QueueDisc SojournTime should be TracedCallback TracedCallback is invoked for all sojourn time results; TracedValue only for results that changed value from last time --- CHANGES.html | 1 + examples/traffic-control/traffic-control.cc | 4 ++-- src/traffic-control/model/queue-disc.cc | 5 ++--- src/traffic-control/model/queue-disc.h | 3 ++- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES.html b/CHANGES.html index d564d396a..b42bac8ef 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -93,6 +93,7 @@ or with a string value with 'b' (bytes) or 'p' (packets) suffix, such as:
  • QueueDisc::DequeuePeeked has been merged into QueueDisc::Dequeue and hence no longer exists.
  • The QueueDisc base class now provides a default implementation of the DoPeek private method based on the QueueDisc::PeekDequeue method, which is now no longer available.
  • +
  • The QueueDisc::SojournTime trace source is changed from a TracedValue to a TracedCallback; callbacks that hook this trace must provide one ns3::Time argument, not two.
  • Changes to build system: