[ndnSIM] Print PIT entry size
amin at ac.upc.edu
Tue Jun 18 04:18:14 PDT 2013
Thank you for your very quick answers :-)
I am going to print each PIT entry in a specific router in each second
(in a periodic time) with:
(1) Interest name (e.g., prefix), (2) RTT time of each satisfied
Interest, (3) Interface number of each interest packet. My mean of RTT
is the satisfaction time of each interest packet to receive desired
content data. If an Interest packet has not been satisfied, the RTT can
set to zero or infinity.
Would you mind please telling me how is it possible to configure?
On 04/11/2013 01:00 ق.ظ, Alex Afanasyev wrote:
> Hi Amin,
> You can try to use a new example that I just uploadedhttp://ndnsim.net/metric.html#periodic-tracing-of-pending-interest-table-pit-size as a baseline for your implementation.
> Note that the number that you will get is an instantaneous size (how many records currently there are) of PIT on a node at that particular moment, and does not give any statistics how many records were created/satisfied. If you want this additional info, the tracing is a little bit more complicated and you can check another example (https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-with-pit-operation-stats.cc).
> On Apr 10, 2013, at 5:30 AM, Amin Karami<amin at ac.upc.edu> wrote:
>> Hi Alex,
>> I am working with one example in ndnsim.net as:http://ndnsim.net/examples.html#node-bottleneck-topology
>> I am going to print the number of empty record of PIT in first router (Rtr1) in every second in command prompt, such as below:
>> (for example the primary PIT size for Rtr1 is 100)
>> Time Node PIT size
>> ------- ------- -----------
>> 1 Rtr1 98
>> 2 Rtr1 93
>> 3 Rtr1 94
>> 4 Rtr1 99
>> I could not find any relevant class in user guide to print this output.
>> Would you mind please telling me how I can print this output?
>> I am thankful for your guidance and support.
>> Best Regards,
More information about the ndnSIM