<div dir="auto">Hi Zakaria</div><div dir="auto"><br></div><div dir="auto">You may need to import the class from its namespace:</div><div dir="auto"><br></div><div dir="auto">using ns3::ndn::L3RateTracer;</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 9, 2021 at 13:39 Zakaria SABIR <<a href="mailto:zakaria.sabir@uit.ac.ma">zakaria.sabir@uit.ac.ma</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p><div dir="ltr"><div>Hi everyone, I hope you're doing well,</div><div><br></div><div>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:</div><div><b>"error: ‘L3RateTracer’ has not been declared".</b><br></div><div>I tried to fix it by including the header "ns3/ndnSIM/utils/tracers/ndn-l3-rate-tracer.hpp" but it didn't work.</div><div>Could you help me, please?</div><div><br></div><div>Regards,</div><div>Zakaria.</div><br><p></p></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=195ad997-d8ac-4751-a5fb-1ae2d749a853"><font color="#ffffff" size="1">ᐧ</font></div><img src="https://my-email-signature.link/signature.gif?u=128007&e=158116164&v=790e8f1f0957477ed2ca8a8af70d3b91b33ae88d044e69b51bc97198480439df" alt="" style="width:2px;max-height:0;overflow:hidden">
_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div></div>