[ndnSIM] Error with L3RateTracer
ygor.amaral at gmail.com
Wed Jun 9 11:06:49 PDT 2021
You do not need to explicitly include ndn-l3-rate-tracer.hpp.
Only ndnSIM-module.h is required to provide NDN features in the simulation
I think you are in the ns3 namespace and L3RateTracer is in the ndn
Put the ndn (namespace) explicitly and see if it works.
On Wed, Jun 9, 2021 at 2:39 PM Zakaria SABIR <zakaria.sabir at uit.ac.ma>
> Hi everyone, I hope you're doing well,
> I'm trying to obtain metrics from a simulation, so I included the
> instruction " L3RateTracer::InstallAll("rate-trace.txt", Seconds(1.0)); "
> just before calling Simulator::Run as indicated in the documentation. But I
> got the following error:
> *"error: ‘L3RateTracer’ has not been declared".*
> I tried to fix it by including the header
> "ns3/ndnSIM/utils/tracers/ndn-l3-rate-tracer.hpp" but it didn't work.
> Could you help me, please?
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM