Obtaining metrics

2017-12-03  本文已影响0人  Olivia_SHEN

Packet-level trace helpers

// the following should be put just before calling Simulator::Run in the scenario

L3RateTracer::InstallAll("rate-trace.txt", Seconds(1.0));

Simulator::Run();

...

输出文件格式是制表符分隔值,第一行指定列的名称。 有关列的说明,请参阅下表:


// the following should be put just before calling Simulator::Run in the scenario

L2RateTracer::InstallAll("drop-trace.txt", Seconds(0.5));

Simulator::Run();

...

Content store trace helper

NOTE: This tracer works ONLY when the OldContentStore structure is used!

Application-level trace helper

// the following should be put just before calling Simulator::Run in the scenario

AppDelayTracer::InstallAll("app-delays-trace.txt");

Simulator::Run();

...
上一篇 下一篇

猜你喜欢

热点阅读