[ndnSIM] How to get the Interest information from each face?
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?
On Feb 27, 2013, at 4:56 PM, Chengyu Fan <chengyu at cs.colostate.edu> wrote:
> 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?
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM