tests+consumer+docs: Test case for AppDelayTracer and related bugfixes
Change-Id: I44a154f53350e140303795a9a8f824f913cc9a4c
Refs: #2764
diff --git a/utils/tracers/ndn-app-delay-tracer.hpp b/utils/tracers/ndn-app-delay-tracer.hpp
index d58f517..6e02f93 100644
--- a/utils/tracers/ndn-app-delay-tracer.hpp
+++ b/utils/tracers/ndn-app-delay-tracer.hpp
@@ -51,10 +51,6 @@
*
* @param file File to which traces will be written. If filename is -, then std::out is used
*
- * @returns a tuple of reference to output stream and list of tracers. !!! Attention !!! This
- *tuple needs to be preserved
- * for the lifetime of simulation, otherwise SEGFAULTs are inevitable
- *
*/
static void
InstallAll(const std::string& file);
@@ -65,10 +61,6 @@
* @param nodes Nodes on which to install tracer
* @param file File to which traces will be written. If filename is -, then std::out is used
*
- * @returns a tuple of reference to output stream and list of tracers. !!! Attention !!! This
- *tuple needs to be preserved
- * for the lifetime of simulation, otherwise SEGFAULTs are inevitable
- *
*/
static void
Install(const NodeContainer& nodes, const std::string& file);
@@ -79,12 +71,7 @@
* @param nodes Nodes on which to install tracer
* @param file File to which traces will be written. If filename is -, then std::out is used
* @param averagingPeriod How often data will be written into the trace file (default, every half
- *second)
- *
- * @returns a tuple of reference to output stream and list of tracers. !!! Attention !!! This
- *tuple needs to be preserved
- * for the lifetime of simulation, otherwise SEGFAULTs are inevitable
- *
+ * second)
*/
static void
Install(Ptr<Node> node, const std::string& file);
@@ -95,11 +82,11 @@
* @param nodes Nodes on which to install tracer
* @param outputStream Smart pointer to a stream
* @param averagingPeriod How often data will be written into the trace file (default, every half
- *second)
+ * second)
*
- * @returns a tuple of reference to output stream and list of tracers. !!! Attention !!! This
- *tuple needs to be preserved
- * for the lifetime of simulation, otherwise SEGFAULTs are inevitable
+ * @returns a tuple of reference to output stream and list of tracers.
+ * !!! Attention !!! This tuple needs to be preserved for the lifetime of simulation,
+ * otherwise SEGFAULTs are inevitable
*/
static Ptr<AppDelayTracer>
Install(Ptr<Node> node, shared_ptr<std::ostream> outputStream);