<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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></body></html>