<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">as you can see Pit can be found under the nfd::pit namespace:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data/NFD/blob/master/daemon/table/pit.cpp" class="">https://github.com/named-data/NFD/blob/master/daemon/table/pit.cpp</a></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><br class=""></div></div></div></div><div><blockquote type="cite" class=""><div class="">On Jan 6, 2019, at 1:26 PM, hakima khelifi <<a href="mailto:khelifihakima22@yahoo.fr" class="">khelifihakima22@yahoo.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="ydp707ea66yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div class=""><span class="">Dear all,</span></div><div class=""><span class=""></span><br class=""></div><div class=""><br class=""></div><span class="">I am trying to print the PIT table by using the following code:<br class=""><br class="">void PeriodicStatsPrinter(Ptr<Node> node, Time next)<br class="">{<br class="">  Ptr<ndn::Pit> pit = node->GetObject<ndn::Pit> ();<br class=""><br class="">  std::cout << Simulator::Now ().ToDouble (Time::S) << "\t"<br class="">            << node->GetId () << "\t"<br class="">            << Names::FindName (node) << "\t"<br class="">            << pit->GetSize () << "\n";<br class="">  <br class="">  Simulator::Schedule (next, PeriodicStatsPrinter, node, next);<br class="">}<br class=""><br class="">However, it is not working and I am getting the error of: ‘Pit’ is not a member of ‘ns3:<g class="gr_inline_cards gr_gramm gr_17 Style gr_run_anim replaceWithoutSep gr_ gr-alert" id="17" data-gr-id="17">:nd</g>n’.<br class=""><br class="">Any guidelines!<br class="">Regards,<br class=""><br class=""><br class=""></span></div></div>_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></div></body></html>