[ndnSIM] How to create custom NFD CacheHits/Misses ??? (Tom SIMPSON)

mdparamartha95 at students.itb.ac.id mdparamartha95 at students.itb.ac.id
Wed Sep 4 17:12:56 PDT 2019

Hi Tom, 

In my last project, I am using Forwarder to calculate the NFD Hit/Miss rate.

Since ndnSIM already provide it (Forwarder.cpp), you can just use it instead of making a new one.

However, if you want to modify, my suggestion just modify the Forwarder.cpp and don't forget to make a backup before.

Hopefully helping you to solving the problem,

Best Regards
Adi Paramartha
STMIK Primakara - Bali - Indonesia

----- Original Message -----
From: ndnsim-request at lists.cs.ucla.edu
To: "ndnsim" <ndnsim at lists.cs.ucla.edu>
Sent: Sunday, September 1, 2019 3:00:01 AM
Subject: ndnSIM Digest, Vol 81, Issue 12

Send ndnSIM mailing list submissions to
	ndnsim at lists.cs.ucla.edu

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	ndnsim-request at lists.cs.ucla.edu

You can reach the person managing the list at
	ndnsim-owner at lists.cs.ucla.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ndnSIM digest..."

Today's Topics:

   1. How to create custom NFD CacheHits/Misses ??? (Tom SIMPSON)


Message: 1
Date: Fri, 30 Aug 2019 22:59:33 +0100
From: Tom SIMPSON <simpsona0007 at gmail.com>
To: ndnsim <ndnsim at lists.cs.ucla.edu>
Subject: [ndnSIM] How to create custom NFD CacheHits/Misses ???
	<CAA3Dps7X=8JO1n+4Eri8nhwqxRhnmqw70R+cCaLpdVpvnRmNqg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Dear all,

I want to calculate cache hits miss from NFD, i tried lot of things to do
it but it still don't work for me.
i tried to modified the file ndn-cs-tracer.cpp/hpp from
/ndnSIM/ns-3/src/ndnSIM/utils/tracers and call the some functions from
forwarding file

void onContentStoreMiss(const Face& inFace, const shared_ptr<pit::Entry>&
pitEntry, const Interest& interest);

  VIRTUAL_WITH_TESTS void  onContentStoreHit(const Face& inFace, const
shared_ptr<pit::Entry>& pitEntry,const Interest& interest, const Data&

but it doesn't work for me and i still not understand how to use this
i really need help to trace my nfd content store policy.
any suggestion i will be gratful

Best regardes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190830/daddfb80/attachment-0001.html>


Subject: Digest Footer

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu


End of ndnSIM Digest, Vol 81, Issue 12

More information about the ndnSIM mailing list