<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Aaron,</div><div><br></div><div>You can check out <a href="https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-with-pit-operation-stats.cc">https://github.com/NDN-Routing/ndnSIM/blob/master/examples/ndn-simple-with-pit-operation-stats.cc</a> example.  It shows an example how to print out stats for PIT, but this can be used for CS as well in a similar way.</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Feb 10, 2014, at 8:36 PM, aaronishere <<a href="mailto:aaronishere@qq.com">aaronishere@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 14px; font-family: Î¢ÈíÑźÚ; line-height: 1.5; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 10px;"><div>Hi, Alex</div><div> </div><div>I found the aggregate-stats-policy.h under folder /utils/trie, which records how many times insert/lookup/upeate/erase is used.</div><div>I wonder how to use it so that the times of insert/lookup/upeate/erase can be shown when the simulation ends.</div><div> </div><div>Thanks!</div><div> </div><hr align="left" size="1" style="height: 1px; width: 210px;"><div><span>Aaron</span></div></div></blockquote></div><br></body></html>