此問題是xml文件超過數(shù)據(jù)分組導(dǎo)致的尖阔,只需要在函數(shù)中添加
AnimationInterface anim("test_trace.xml");
anim.SetMaxPktsPerTraceFile(99999999999999);
即可解決阐枣。
void ns3::AnimationInterface::SetMaxPktsPerTraceFile (uint64_t maxPktsPerFile)
Set Max packets per trace file.
maxPktsPerFile
The maximum number of packets per trace file.