<div dir="ltr"><div><div><div><div><div><div><div>Dear All,<br><br></div>I want to run cs-tarcer::install() to trace cache hit/miss in of the node.<br></div><div>Can anybody tell me how to run cs-tracer only in one node. I have tried a lot but couldnt succeed. May be my syntax is wrong? Please let me know the correct way to do.<br>
<br></div><div>Thank you in advance...<br><br></div>I did as follow:<br>ndn::CsTracer::Install (consumer1 ("Src1"),"cs-trace.txt", Seconds (1));<br><br></div>and the error is:<br><br>Waf: Entering directory `/home/akari/ns-dev/ns-3/build'<br>
[1218/2363] cxx: src/ndnSIM/examples/ndn-tree-with-l2tracer.cc -> build/src/ndnSIM/examples/ndn-tree-with-l2tracer.cc.15.o<br>../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc: In function ‘int main(int, char**)’:<br>../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc:141:43: error: no match for call to ‘(ns3::Ptr<ns3::Node>) (const char [5])’<br>
Waf: Leaving directory `/home/akari/ns-dev/ns-3/build'<br>Build failed<br> -> task in 'ndn-tree-with-l2tracer' failed (exit status 1): <br>    {task 39907088: cxx ndn-tree-with-l2tracer.cc -> ndn-tree-with-l2tracer.cc.15.o}<br>
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/libxml2', '-I/usr/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-tree-with-l2tracer.cc.15.o']<br>
<br></div><br></div>Yowaraj Chhetri,<br></div><div>Master of Advanced Information Technology<br></div>Kyushu University,<br></div>Fukuoka: Japan<br>
</div>