<div dir="ltr"><div>Q1. Can we use <a class="m_-2162752252133602647gmail-reference m_-2162752252133602647external" href="http://ndnsim.net/2.3/doxygen/classns3_1_1ndn_1_1AppDelayTracer.html" target="_blank">ndn::AppDelayTracer</a> for counting retransmitted interests. As I have seen there is a coulmn called "RetxCount"<br></div><div><br></div><div><table class="m_-2162752252133602647gmail-docutils" border="1"><tbody valign="top"><tr class="m_-2162752252133602647gmail-row-odd"><td><code class="m_-2162752252133602647gmail-docutils m_-2162752252133602647gmail-literal"><span class="m_-2162752252133602647gmail-pre">RetxCount</span></code></td>
<td>number of Interest retransmissions (for LastDelay always equal to 1)</td></tr></tbody></table><br></div><div>I have generate a file using AppDelayTracer. I am confused how to use this file to count the retransmitted Interests.<br></div><div><br></div><div><br></div><div>Q2. For calculating the number of retransmitted interest should we make a simple counter in <br></div><div><br></div><div>void<br>Consumer::OnTimeout(uint32_t sequenceNumber)<br>{</div><div>static int retransmit_count=0;</div><div> retransmit_count++;<br></div><div>..........<br></div><div>}</div><div><br></div><div><br></div><div>Is it proper way to calculate ..If yes, then how will I get this value from main file (e.g. ndn-grid.cc)<br></div><div><br></div><div><br></div></div>