[ndnSIM] ndnSIM Digest, Vol 40, Issue 20
narges.mehran at gmail.com
Sun Mar 27 21:35:19 PDT 2016
You can also use the available trace files. Look at this
<http://ndnsim.net/2.0/metric.html#application-level-trace-helper>. In this
file, collected during your simulation, you can see the Round Trip Time
(RTT) of every transmitted Interest and its Data packet.
On Fri, Mar 25, 2016 at 4:34 PM, <ndnsim-request at lists.cs.ucla.edu> wrote:
> Date: Fri, 25 Mar 2016 15:33:54 +0330
> From: chavoosh ghasemi <chavoosh.ghasemi.off at gmail.com>
> To: roger <youngroger64 at gmail.com>
> Cc: ndnsim <ndnsim at lists.cs.ucla.edu>
> Subject: Re: [ndnSIM] Arrival times
> CAGyRHp5dXwMSA-e3xbrEBg9aautZqwxsuAPwsihktJP8nHHoDg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> Hi Roger,
> You can simply use NS_LOG and print all information you want. For instance,
> assume you're using "ndn-consumer.cc" and "ndn-producer.cc", which are
> predefined files under this directory: "src/ndnSIM/apps", as applications
> in your scenario. After assigning *consumer* application to you nodes, and
> perhaps *producer* application to some other of them, you can type below
> command in the bash and run it:
> NS_LOG=ndn.Consumer:ndn.Producer ./waf --run [*name of your file*]
> Now, you'll see that there are a lot of information printed on your screen
> which one of is packet arrival. Here number of your nodes and their
> topology is not important, at all. So, for any similar purpose you can
> simply use NS_LOG environment variable and print any kind of information on
> the screen.
> Anyway, if you wanted to save printed lines, you can easily use below
> command (according to above example):
> NS_LOG=ndn.Consumer ./waf --run [*name of your file*] > test.txt
> which will save all printed lines in *test.txt* file.
> Good luck
> On Thu, Mar 24, 2016 at 6:04 PM, roger <youngroger64 at gmail.com> wrote:
> > Hi, I have a scenario with multiple consumers. I am looking to capture
> > packet arrival times on the consumers and save them to a file.. how do i
> > about this, thank you.
> > _______________________________________________
> > ndnSIM mailing list
> > ndnSIM at lists.cs.ucla.edu
> > http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
> *Chavoosh Ghasemi*
> Master of Information Technology - Computer Networks
> Sharif University of Technology (SUT) - Computer Engineering Department
> *Address: Department of Computer Engineering,*
> * Sharif University of Tech, Tehran, Iran*
> *"The quieter you become, the more you can hear"*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM