<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Josh,<div><br></div><div>For intermediate nodes, you can have multiple places to enable logging.  This could be <a href="http://ndn.fw">ndn.fw</a>, ndn.fw.BestRoute (or other strategy's name you're using), ndn.Face</div><div><br></div><div>NS_LOG=ndn.Producer:ndn.Consumer:ndn.fw ./waf --run=...</div><div><br></div><div>The most verbose logging you would get with (but it will be definitely too much, as it would include everything from NS-3's processing as well).</div><div><br></div><div>NS_LOG=* ./waf run=...</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Apr 30, 2014, at 10:24 AM, Josh J <<a href="mailto:joshjdevl@gmail.com">joshjdevl@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Hi,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
So if I enable logging, the consumer and producer nodes will log their OnInterest, OnData, and SendPacket messages allowing me to observe the timings of interest and data at the consumer and producer.</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div>0s 0 ndn.ConsumerZipfMandelbrot:SendPacket(): [INFO ] > Interest for 62, Total: 1, face: 1</div><div>0.020512s 2 ndn.Producer:OnInterest(): [INFO ] node(2) respodning with Data: /prefix/%00%3E<br>
</div><div>0.057504s 0 ndn.Consumer:OnData(): [INFO ] < DATA for 62<br></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">How can I view the timing of the intermediate node? I thought maybe to enable logging in the face api, though I don't see any face messages?</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">NS_LOG=ndn.ApiFace:ndn.ConsumerZipfMandelbrot:ndn.Consumer:ndn.Producer<br>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thanks in advance,</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
Josh</div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>