Don’t remember if I responded already.
This shows how to run NoC synthetic traffic sims :
http://www.gem5.org/Garnet_Synthetic_Traffic

This garnet implementation is here:
http://www.gem5.org/Garnet2.0

In the m5out.stats file, you can see the network stats.
If you want additional stats, you can add additional fields to flit.hh - e.g, 
in your case, you may want a field in the flit that is tracking how many cycles 
it spent in each router. And print that out when it is ejected at the 
NetworkInterface.

Look at Lifecycle of a Network Traversal to see what happens where in the code.
http://www.gem5.org/Garnet2.0

Cheers,
Tushar

On Apr 2, 2018, 8:45 AM -0400, mohammad etemad <etemad1...@yahoo.com>, wrote:
dear all,

Hi,
I want to calculate latency in interconnect network from each node to its 
neighbors dynamically.this task should be performed  for all nodes.which files 
should be modified and what shall we do?


best regards
M.Etemad

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to