<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 will have to extend the current CS tracer. I have not tried to do the specific thing that you asked, but the general ideal is that you have to extend the already implemented methods CacheHits, CacheMisses of the CStracer tracer. Please take a look here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/utils/tracers/ndn-cs-tracer.cpp#L261-L271" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/utils/tracers/ndn-cs-tracer.cpp#L261-L271</a></div><div class=""><br class=""></div><div class="">Hope that this helps.</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=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On May 11, 2016, at 5:47 AM, Zeinab Rezaiefar <<a href="mailto:z.rezaiefar@yahoo.com" class="">z.rezaiefar@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 16px;" class=""><div id="yui_3_16_0_ym19_1_1462943186798_9953" class="">  Hello everyone,</div><div id="yui_3_16_0_ym19_1_1462943186798_9897" class="">I would like to know that how I can collect information of cached data packet with specified signature in each router of network. </div><div id="yui_3_16_0_ym19_1_1462943186798_9923" dir="ltr" class="">for example I want to know how many data packets with specific signature are cached in each router every second . where and how I should write the code to get this information.</div><div id="yui_3_16_0_ym19_1_1462943186798_9992" dir="ltr" class="">is there any example that helps me to understand this problem?</div><div id="yui_3_16_0_ym19_1_1462943186798_9993" dir="ltr" class="">any help  will be appreciated </div><div id="yui_3_16_0_ym19_1_1462943186798_9994" dir="ltr" class="">thanks in advance </div><div id="yui_3_16_0_ym19_1_1462943186798_9995" dir="ltr" class="">best regards</div></div></div><br class=""></div></blockquote></div><br class=""></div></body></html>