Hi Xi,

The clock will indeed be printed as a period (and with the unit being Ticks). 
You can set a period as low as 1 tick if you want, so with the default 
resolution that would correspond to 1THz(!)

Andreas

From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
Behalf Of Xi Chen
Sent: 13 July 2012 17:25
To: gem5-users@gem5.org
Subject: Re: [gem5-users] Ruby frequency not working?


Hi Andreas,

Thanks for the clarification. So when I set --clock in the command line, the 
config.ini file prints clock period, is that right? That is also explains why 
you cannot set more than 1GHz in Ruby network frequency, because 1GHz is the 
smallest clock period or we can treat it as base clock period, when you set 
more than 1GHz, you cannot shrink base clock period anymore but expand it by 
setting smaller clock frequency. Is my understanding correct?



Thanks,

Xi

----------------------------------------------------------------------------------

Hi Xi,



The clock is a parameter of type Clock, and it is specified in terms of a clock

period in units of ticks internally. Hence, your setting as a frequency will

end up being printed as a clock period.



Hope it helps.



Andreas

________________________________________

From: gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org> 
[gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] On Behalf Of 
Xi

Chen [xiche...@gmail.com<mailto:xiche...@gmail.com>]

Sent: Thursday, July 12, 2012 6:53 PM

To: gem5-users@gem5.org<mailto:gem5-users@gem5.org>

Subject: Re: [gem5-users] Ruby frequency not working?



Hi all,



I tried another way to adjust the frequency. Set -clock= to 0.5GHz, 0.33GHz,

0.2GHz, then in the config.ini file the corresponding clock under "system.ruby"

became 2,3,5.  So the frequency adjustment does work, but the question is why

set clock to 2,3,4 GHz, the system does not change and set clock to 0.5,0.33

and 0.2 the real clock is 1/0.5=2, 1/0.33~3 and 1/0.2=5?



Sorry for bothering!



Thanks,

Xi





-- 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.

--
Xi Chen

-- 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.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to