<div dir="ltr"><div><div><div><div>Dear Alex,<br></div>Thanks you so much.<br></div>It is very helpful for me.<br></div>Now stats.cc is updated at time interval as my requirement and it is also working on dumbell topology. <br>
<br></div>Sincerely yours<br>TUN<br><div><div><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 4:25 AM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class="im"><div>On Jan 5, 2014, at 9:49 PM, Tun Tun Oo <<a href="mailto:htunhtunu@gmail.com" target="_blank">htunhtunu@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div><div><div><div>Dear Alex,<br></div>Happy new year to you.<br></div>Now I am trying to use <a href="http://stats.cc/h" target="_blank">stats.cc/h</a> from the interesting-flooding-mitigation for the purpose of getting instant load.<br>

</div>I have several questions.<br></div>1. Now I am getting stats information of the each node every one second.<br></div>I want to get this information at particular time interval or event, for example, 0.1 seconds or whenever I received the Interest packet. Could you advice me how to extend it?<br>
</div></div></div></div></blockquote><div><br></div></div><div>Hi Tun,</div><div><br></div><div>The information in <a href="http://stats.cc/h" target="_blank">stats.cc/h</a> is updated and aggregated every second, but you can access it at any particular time.  Since the values are 'averages', you have to have some time period over which the data is aggregated.  You can change this aggregation period (line 96 and 179 in <a href="http://stats.cc" target="_blank">stats.cc</a>), but you also need to adjust the averaging function (stats/<a href="http://load-stats.cc" target="_blank">load-stats.cc</a>), so it takes into account new time period.</div>
<div class="im"><br><blockquote type="cite"><div dir="ltr"><div><div>2. At first I used this code in dumbbell topology but I received the SIGSEGV error after running several seconds. Now it is working in tree topology. I would like to know how to modified it for using in other topologies.<br>

</div><div>Thanks you,<br></div></div></div></blockquote><div><br></div></div><div>I'm not sure why you're getting sigsegv. Anything useful that you can get from the debugger?</div><div><br></div><div>---</div><div>
Alex</div><br><blockquote type="cite"><div dir="ltr"><div>sincerely yours<br></div>TUN<br></div></blockquote></div><br></div></blockquote></div><br></div></div></div></div></div></div></div></div>