GarnetNetwork.cc prints out these stats. This latency is computed in NetworkInterface.cc in the wakeup() function whenever a flit is received. Since you want to compute delay between each source-dest pair, I would suggest adding a data structure here to compute the average latency for every source and dest pair. The route field in the flit carries the source and destination ids.
Cheers, Tushar On Apr 9, 2018, 5:08 AM -0400, mohammad etemad <etemad1...@yahoo.com>, wrote: dear all, How shall i understand ,as an example where is the source file that generates the system.ruby.network.flit_network_latency 10 " output in stats.txt im m5 folder? regards Etemad
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users