Thanks, Alex.<br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 11:28 AM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Chengyu,<br>
<br>
Yes, the period specified in InstallAll specifies aggregation time, and in each period number of Interests/Data is counted independently.<br>
<br>
Actually, if you specify a time period that is longer than the simulation time, you should get aggregate numbers for the whole simulation.<br>
<br>
---<br>
Alex<br>
<div><div class="h5"><br>
On Mar 20, 2013, at 10:25 AM, Chengyu Fan <<a href="mailto:chengyu@cs.colostate.edu">chengyu@cs.colostate.edu</a>> wrote:<br>
<br>
> Hi Alex,<br>
><br>
> When we use L3AggregateTracer, we usually create it as follows:<br>
> -------------------------------------------------------------------------------------------------------------------<br>
> boost::tuple< boost::shared_ptr<std::ostream>, std::list<Ptr<ndn::L3AggregateTracer> > ><br>
>   aggTracers = ndn::L3AggregateTracer::InstallAll ("aggregate-trace.txt", Seconds (1.0));<br>
> -------------------------------------------------------------------------------------------------------------------<br>
><br>
> I think this means that AggregateTracer will print the stat information in the "aggregate-trace.txt" every second.<br>
><br>
> My question is :<br>
> Is the stat information only for one second interval?<br>
><br>
> For instance, at second 1, the Tracer collects 10 incoming Interests, so it prints it out 10; after that, it collects 5 incoming Interests,<br>
> so at second 2, how many incoming Interests will the Tracer print out? 5 or 10?<br>
><br>
> Thanks,<br>
> Chengyu<br>
><br>
</div></div>> _______________________________________________<br>
> ndnSIM mailing list<br>
> <a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
<br>
</blockquote></div><br>