<html><head></head><body><div class="ydp707ea66yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div><span>Dear all,</span></div><div><span></span><br></div><div><br></div><span>I am trying to print the PIT table by using the following code:<br><br>void PeriodicStatsPrinter(Ptr<Node> node, Time next)<br>{<br>  Ptr<ndn::Pit> pit = node->GetObject<ndn::Pit> ();<br><br>  std::cout << Simulator::Now ().ToDouble (Time::S) << "\t"<br>            << node->GetId () << "\t"<br>            << Names::FindName (node) << "\t"<br>            << pit->GetSize () << "\n";<br>  <br>  Simulator::Schedule (next, PeriodicStatsPrinter, node, next);<br>}<br><br>However, it is not working and I am getting the error of: ‘Pit’ is not a member of ‘ns3:<g class="gr_ gr_17 gr-alert gr_gramm gr_inline_cards gr_run_anim Style replaceWithoutSep" id="17" data-gr-id="17">:nd</g>n’.<br><br>Any guidelines!<br>Regards,<br><br><br></span></div></body></html>