<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>   Thank you for your reply!</div><div>   I have used the "L3RateTracer" to keep track of router statistics. I wonder how to deal with the obtained data to calculate the satisfaction ratio: (1)first  calculate the satisfaction ratio of each consumer and then obtain the average of all the consumers,  or (2) first calculate sum of the sent out Interests and sum of received Data of all the consumers and then perform division operations.</div><div>   Thank you very much!</div><div>   Best regards,</div><div>   Lixia Zhao<br></div><br><br><br><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2018-08-18 08:00:57, "Spyridon (Spyros) Mastorakis" <<a href="mailto:mastorakis@cs.ucla.edu">mastorakis@cs.ucla.edu</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<div class=""><br class=""></div><div class="">you can modify the consumer and producer apps to add some counters for the metrics you need and print the value of the counters at end of your simulation.</div><div class=""><br class=""></div><div class="">Another way to do that is to use some tracer that is provided by ndnSIM, e.g., the app delay tracer:</div><div class=""><br class=""></div><div class=""><a href="http://ndnsim.net/current/metric.html#application-level-trace-helper" class="">http://ndnsim.net/current/metric.html#application-level-trace-helper</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Aug 17, 2018, at 5:01 AM, mengxue <<a href="mailto:mengxue_1224@126.com" class="">mengxue_1224@126.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">    I met with some problems when I deal with the experimental data.</div><div class="">    Interest satisfaction ratio of clients has been widely used as an indication of the quality of service perceived by end-users when there is an on-going attack. I'm wondering how to calculate the satisfaction ratio, the average ratio of each client(i.e., the sum of satisfaction ratio of each client / the number of clients) or the overall ratio of legitimate Interests(i.e.,the sum of # of all the received Data packets by clients / the sum of # of all the sent out Interest packets by clients ).</div><div class="">    Thank you very much!</div><div class=""> </div><div class="">    Best regards,</div><div class="">    Xue Meng<br class=""></div></div></div></blockquote></div><br class=""></div></blockquote></div></div><br><br><span title="neteasefooter"><p> </p></span>