<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Parisa,</div><div><br></div><div>The tracers were designed primarily for tracing purposes and not meant to be used to make forwarding decisions.</div><div><br></div><div>What you can do instead, is to create a custom strategy (custom base strategy) that collects all parameters you need to make the decision at the interest forwarding stage.  I have implemented a simplified version of what you need in in this project <a href="https://github.com/cawka/ndnSIM-ddos-interest-flooding/tree/master/extensions">https://github.com/cawka/ndnSIM-ddos-interest-flooding/tree/master/extensions</a>.  You can get <a href="http://stats.cc">stats.cc</a>|h and stats/* files and modify them to fit your needs.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Apr 13, 2014, at 12:34 PM, parisa bazmi <<a href="mailto:bazmi.parisa@gmail.com">bazmi.parisa@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>hi <br></div>I'm new to C++ and pointer. I wanna get next router metric such as number of satisfied interests ,cache hits ,cache ..., to decide from witch face should I send interest.<br>
</div>I saw trace sources but I want to get this parameter in my program for routing.<br></div>can you help me how to do this. <br></div>thanks<br></div>parisa<br></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></body></html>