<div dir="ltr">Hi John,<div><div><br></div><div>thank you very much, for yours tips.</div><div><br></div><div>i am see this functions and i finded now this link: <a href="http://www.lists.cs.ucla.edu/pipermail/ndnsim/2016-July/002850.html">http://www.lists.cs.ucla.edu/pipermail/ndnsim/2016-July/002850.html</a>, </div><div>that seems to be useful for this.</div><div><br></div><div>Again thank you.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-20 2:49 GMT-03:00 John Baugh <span dir="ltr"><<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Renato,<div><br></div><div>My own experience has been that I needed to add code to the onContentStoreHit and onContentStoreMiss member functions (methods) of the Forwarder class that's in NFD/daemon/fw directory (<a href="https://ndnsim.net/2.4/doxygen/forwarder_8cpp_source.html" target="_blank">https://ndnsim.net/2.4/<wbr>doxygen/forwarder_8cpp_source.<wbr>html</a>)</div><div><br></div><div>After doing so, you need to go to the ns3 directory and ./waf and then sudo ./waf install so that ndnSIM itself is rebuilt.  Then, you can build your scenarios using the ./waf for the scenarios for ndnSIM.</div><div><br></div><div>Not ideal, but after months of trying other things and asking dozens of questions, reading hundreds of articles - this appears to be the best way to do any type of custom hit/miss tracing for the NFD.</div><div><br></div><div>Hope this helps!</div><div><br></div><div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Nov 20, 2017 at 12:18 AM, Renato Cavalcante <span dir="ltr"><<a href="mailto:renato.frca@gmail.com" target="_blank">renato.frca@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi everyone.</div><div><br></div><div>How to use the callback cache hit/miss from Cs class from NFD?</div><div><br></div><div>The CsTracer just works with ContentStore from ndnSIM.</div><div><br></div>Thank you advance.<span class="m_-5900562937980886221HOEnZb"><font color="#888888"><br><div><br></div>-- <br><div class="m_-5900562937980886221m_3646476705675182360gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font color="#000000"><span style="font-size:12.8px">Renato Araújo</span><br></font></div><div><font color="#000000"><span style="font-size:12.8px">Computer Science Department</span><br style="font-size:12.8px"><span style="font-size:12.8px">UFBA -- Brazil</span></font><br><div><br><br><br></div></div></div></div></div></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/ndnsim</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font color="#000000"><span style="font-size:12.8px">Renato Araújo</span><br></font></div><div><font color="#000000"><span style="font-size:12.8px">Computer Science Department</span><br style="font-size:12.8px"><span style="font-size:12.8px">UFBA -- Brazil</span></font><br><div><br><br></div></div></div></div></div></div></div>
</div>