<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Jin,</div><div><br></div><div>I suspect that you're modifying not exactly the right file.  Did you modify scenario in examples/ folder or did you copy/create ndn-tracers.cc in NS-3's scratch folder?   If the latter, then you would want to change scenario's name, so it doesn't conflict with ndnSIM examples (I suspect, but can't be 100% sure, that the scenario you're running is from examples folder, while you have modified file in scratch/ folder).</div><div><br></div><div>---</div><div>Alex</div><br><div><div>On Sep 10, 2013, at 7:17 PM, xuejin <<a href="mailto:xue_jin@foxmail.com">xue_jin@foxmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Alex,<br><br>There are two lines code in the example "ndn-tree-tracers.cc" like following :<br><br><span style="font-weight: bold;">  ndn::L3AggregateTracer::InstallAll ("aggregate-trace.txt", Seconds (0.5));<br>  ndn::L3RateTracer::InstallAll ("rate-trace.txt", Seconds (0.5));</span><br><br>When I run the scenario successfully, I get two files named "<span style="font-weight: bold;">aggregate-trace.txt</span>" and "<span style="font-weight: bold;">rate-trace.txt</span>".<br>Now, I want to change the file names, so I used the next two lines:<br><br><span style="font-weight: bold;">  ndn::L3AggregateTracer::InstallAll ("xuejin-aggregate-trace.txt", Seconds (0.5));<br>  ndn::L3RateTracer::InstallAll ("xuejin-rate-trace.txt", Seconds (0.5));</span><br><br>But after I run it successfully, the files' names still be<span style="font-weight: bold;"> "</span><span style="font-weight: bold;"><span style="font-weight: bold;">aggregate-trace.txt</span>"</span> and "<span style="font-weight: bold;">rate-trace.txt</span>". Why names can't change?<br><br>Looking forward to your response.<br><br>Jin Xue</blockquote></div></body></html>