It seems that I can only add one comm monitor to the simulation because the 
system.monitor is not a list. The code I want to use to connect the module is:

...

system.monitor[i] = CommMonitor()
cpus[i].test = system.monitor[i].slave
system.monitor[i].master = ruby_port.slave

...

This code replaced the existing code on line 116 of the ruby_network_test.py 
file. Only issue I see with the above code is that the system.monitor object is 
not a list, so it will not work. Is there anyway to make system.monitor a list 
or a different way to instantiate multiple comm monitors? 

Also on a side note, is it possible to take the comm monitor statistics and 
average them as well as providing individual values? It would be quite helpful.

- Alex


________________________________
 From: Andreas Hansson <[email protected]>
To: Alex Tomala <[email protected]>; gem5 users mailing list 
<[email protected]> 
Sent: Saturday, September 14, 2013 10:37:31 PM
Subject: Re: [gem5-users] How do statistics work
 


Hi Alex,

I would suggest to add a communication monitor (CommMonitor) between the CPU 
and Ruby. That will give you a latency history amongst other things.

Andreas
From: Alex Tomala <[email protected]>
Reply-To: Alex Tomala <[email protected]>, gem5 users mailing list 
<[email protected]>
Date: Saturday, 14 September 2013 16:51
To: gem5 users mailing list <[email protected]>
Subject: [gem5-users] How do statistics work


Hello,

I can't find any information or complete examples related to how statistics are 
done in GEM5, and with the Ruby memory system. I am wondering if anybody here 
knows any resources that can help me. I am looking to test the average latency 
of memory accesses in multiple ruby memory systems, but there are no default 
statistics for that, so I assume that I have to make my own. 

- Alex
-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to