[ndnSIM] Callback cacheHit/Miss from NFD
Renato Cavalcante
renato.frca at gmail.com
Sun Nov 19 22:03:15 PST 2017
Hi John,
thank you very much, for yours tips.
i am see this functions and i finded now this link:
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2016-July/002850.html,
that seems to be useful for this.
Again thank you.
2017-11-20 2:49 GMT-03:00 John Baugh <jpbaugh at umich.edu>:
> Renato,
>
> 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 (https://ndnsim.net/2.4/
> doxygen/forwarder_8cpp_source.html)
>
> 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.
>
> 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.
>
> Hope this helps!
>
> John
>
> On Mon, Nov 20, 2017 at 12:18 AM, Renato Cavalcante <renato.frca at gmail.com
> > wrote:
>
>> Hi everyone.
>>
>> How to use the callback cache hit/miss from Cs class from NFD?
>>
>> The CsTracer just works with ContentStore from ndnSIM.
>>
>> Thank you advance.
>>
>> --
>> Renato Araújo
>> Computer Science Department
>> UFBA -- Brazil
>>
>>
>>
>>
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>
>>
>
--
Renato Araújo
Computer Science Department
UFBA -- Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171120/1ccb95f8/attachment.html>
More information about the ndnSIM
mailing list