[ndnSIM] How to get the Interest information from each face?
Alex Afanasyev
alexander.afanasyev at ucla.edu
Thu Feb 28 11:50:57 PST 2013
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/20130228/1143dcc7/attachment.html>
More information about the ndnSIM
mailing list