[ndnSIM] Obtaining "snapshots" of the Content Store contents throughout simulation

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Mon Oct 2 08:56:43 PDT 2017

Hi John,

how about scheduling appropriate events every 500 ms or so? You can use the methods Schedule and ScheduleWithContext to do that:

https://www.nsnam.org/doxygen/classns3_1_1_simulator.html <https://www.nsnam.org/doxygen/classns3_1_1_simulator.html>


Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department

> On Sep 29, 2017, at 7:01 PM, John Baugh <jpbaugh at umich.edu> wrote:
> Greetings ndnSIM friends,
> I was wondering if any of you had any recommendations as to the best (or a good) technique for printing out the names of the data in the Content Store (for example) while the simulation is running at certain time intervals.
> E.g., print out the content list every 500 ms or every second, etc.
> Thanks,
> John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20171002/d2a7e509/attachment.html>

More information about the ndnSIM mailing list