[ndnSIM] Questions about the AggregateTracer stat info

Chengyu Fan chengyu at cs.colostate.edu
Wed Mar 20 10:37:53 PDT 2013


Thanks, Alex.

On Wed, Mar 20, 2013 at 11:28 AM, Alex Afanasyev <
alexander.afanasyev at ucla.edu> wrote:

> Hi Chengyu,
>
> Yes, the period specified in InstallAll specifies aggregation time, and in
> each period number of Interests/Data is counted independently.
>
> Actually, if you specify a time period that is longer than the simulation
> time, you should get aggregate numbers for the whole simulation.
>
> ---
> Alex
>
> On Mar 20, 2013, at 10:25 AM, Chengyu Fan <chengyu at cs.colostate.edu>
> wrote:
>
> > Hi Alex,
> >
> > When we use L3AggregateTracer, we usually create it as follows:
> >
> -------------------------------------------------------------------------------------------------------------------
> > boost::tuple< boost::shared_ptr<std::ostream>,
> std::list<Ptr<ndn::L3AggregateTracer> > >
> >   aggTracers = ndn::L3AggregateTracer::InstallAll
> ("aggregate-trace.txt", Seconds (1.0));
> >
> -------------------------------------------------------------------------------------------------------------------
> >
> > I think this means that AggregateTracer will print the stat information
> in the "aggregate-trace.txt" every second.
> >
> > My question is :
> > Is the stat information only for one second interval?
> >
> > For instance, at second 1, the Tracer collects 10 incoming Interests, so
> it prints it out 10; after that, it collects 5 incoming Interests,
> > so at second 2, how many incoming Interests will the Tracer print out? 5
> or 10?
> >
> > Thanks,
> > Chengyu
> >
> > _______________________________________________
> > 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/20130320/0a2d2647/attachment.html>


More information about the ndnSIM mailing list