[ndnSIM] How to get the Interest information from each face?

Chengyu Fan chengyu at cs.colostate.edu
Fri Mar 1 13:05:12 PST 2013


I read the page, but the tracer class only provides installAll medthod.
It installs the tracer on every node, which is very slow. (It has more than
3k nodes)
Can I just install the tracer on producers?

Thanks,
Chengyu

On Thu, Feb 28, 2013 at 12:50 PM, Alex Afanasyev <
alexander.afanasyev at ucla.edu> wrote:

> I think you overcomplicate things.  Do you need this information in
> runtime or just for later analysis?
>
> If for later analysis, ndnSIM has a couple of metric tracing helpers that
> already collect this sort of information (
> http://ndnsim.net/metric.html#packet-level-trace-helpers).
>  Both ndn::L3AggregateTracer and ndn::L3RateTracer will give the
> information you're interested in.
>
> Is it what you need or you need something more than just numbers?
>
> ---
> Alex
>
> On Feb 27, 2013, at 4:56 PM, Chengyu Fan <chengyu at cs.colostate.edu> wrote:
>
> Hi~
>
> Please forgive me if I missed something apparent.
>
> I want to collect the information of how many Interests and what Interests
> arrive on a node from different faces.
> Unfortunately, I did not find an example that shows how to collect those
> data.
>
> I find a class ns3::ndn::NetDeviceFace that seems suit my requirements.
> And I need to override RegisterProtocolHandler function.
> Is it correct?
>
> Or is there a Tracer class can collect the data for me?
>
> 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/20130301/8cc22eba/attachment.html>


More information about the ndnSIM mailing list