<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span><div>I also encounter the same question: <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">In file "</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">ndn-tree-tracers.cpp", i follow the advice that putting the InstallAll() before Simulatou::Run(),</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">like:</span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""> <span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span></span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> Simulator::Stop(Seconds(20.0));</span></div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">    </span></span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">      </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">ndn::L3RateTracer::InstallAll("rate-trace.txt", Seconds(0.5));</span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""> </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> Simulator::Run();</span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""> </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);">    </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> Simulator::Destroy();</span></div><div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">and i run </span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">./</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">waf</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">--</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">run</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">=</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">ndn</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">-</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">tree</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">-</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">tracers --vis  in documents ndnSIM/ns-3 ,so the file rate-trace.txt also be created in this document.</span></div><div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">but i </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">cannot find any data in rate-trace.txt only like :</span></div></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">Time<span style="white-space: pre;">     </span>Node<span style="white-space: pre;">       </span>FaceId<span style="white-space: pre;">     </span>FaceDescr<span style="white-space: pre;">  </span>Type<span style="white-space: pre;">       </span>Packets<span style="white-space: pre;">    </span>Kilobytes<span style="white-space: pre;">  </span>PacketRaw<span style="white-space: pre;">  </span>KilobytesRaw</span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'=""><br></span></div><div><span microsoft="" yahei="" ui';="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgb(255,="" 255,="" 255);="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">when i run "</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">Rscript</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">src</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">/</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">ndnSIM</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">/</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">examples</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">/</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">graphs</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">/</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">rate</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">-</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">graph</span><span class="o" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">.</span><span class="n" style="font-size: 10.5pt; line-height: 1.5; background-color: window;">R" , it has a error " </span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">no lines available in input"</span></div><div>can you give me some idea ?</div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>jinyangl@mail.ustc.edu.cn</div></div></span></div>
</body></html>