apps+utils: Correcting Interest-Delay tracing
diff --git a/utils/tracers/ndn-app-delay-tracer.cc b/utils/tracers/ndn-app-delay-tracer.cc
index 6ed3e87..b02b3ac 100644
--- a/utils/tracers/ndn-app-delay-tracer.cc
+++ b/utils/tracers/ndn-app-delay-tracer.cc
@@ -128,7 +128,8 @@
<< "Type" << "\t"
<< "DelayS" << "\t"
- << "DelayUS" << "\n";
+ << "DelayUS" << "\t"
+ << "RetxCount" << "";
}
void
@@ -139,18 +140,20 @@
<< seqno << "\t"
<< "LastDelay" << "\t"
<< delay.ToDouble (Time::S) << "\t"
- << delay.ToDouble (Time::US) << "\n";
+ << delay.ToDouble (Time::US) << "\t"
+ << 1 << "\n";
}
void
-AppDelayTracer::FirstInterestDataDelay (Ptr<App> app, uint32_t seqno, Time delay)
+AppDelayTracer::FirstInterestDataDelay (Ptr<App> app, uint32_t seqno, Time delay, uint32_t retxCount)
{
*m_os << m_node << "\t"
<< app->GetId () << "\t"
<< seqno << "\t"
<< "FullDelay" << "\t"
<< delay.ToDouble (Time::S) << "\t"
- << delay.ToDouble (Time::US) << "\n";
+ << delay.ToDouble (Time::US) << "\t"
+ << retxCount << "\n";
}