[ndnSIM] [EXT] record the evolution of PIT size into a file

Junxiao Shi shijunxiao at email.arizona.edu
Sat Jul 10 13:54:53 PDT 2021


Hi HADIBI

m_pit.size() function is accessible in Forwarder class only.
If your code is elsewhere, you need to somehow gain access to the Pit
struct, and call its .size() function.

https://ndnsim.net/2.8/doxygen/classnfd_1_1pit_1_1Pit.html#a2706f17de5a4c6fc5dac6412782c53f6

Yours, Junxiao

On Sat, Jul 10, 2021 at 4:52 PM HADIBI ABDENNOUR via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> *External Email*
> Hi, I'm trying to record the evolution of the PIT size of a specific
> router during a scenario and set a maximum size of the PIT table for each
> router. I've already tried to use " *m_pit.size()* " function but I
> didn't find such a function in the* 2.8 *version of the ndnSim simulator.
> thanks in advance
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210710/68d72ace/attachment.html>


More information about the ndnSIM mailing list