Hi Jason

Thank you for the insight. I have already gone through part 1 of the tutorial 
but will revisit it again and study it in more details.

Best regards

J.Osmany

From: gem5-users [mailto:[email protected]] On Behalf Of Jason 
Lowe-Power
Sent: 27 November 2019 16:38
To: gem5 users mailing list <[email protected]>
Subject: Re: [gem5-users] Difference cpu clock and sys clock

Hi Javed,

Just to follow up a bit, I suggest you dig into how the configuration scripts 
work. Most objects are "ClockedObjects" and each ClockedObject can have its own 
clock. By default, the clock of a child object (e.g., cpu is the child of 
system if you say system.cpu = TimingSimpleCPU()) is the same as its parent.

The Learning gem5 book Part I which covers configuration scripts may be 
helpful. http://learning.gem5.org/book/part1/simple_config.html

Cheers,
Jason

On Wed, Nov 27, 2019 at 7:47 AM Javed Osmany 
<[email protected]<mailto:[email protected]>> wrote:
Hello Abhishek

Tks for the info.

Regards

JO


From: gem5-users 
[mailto:[email protected]<mailto:[email protected]>] On 
Behalf Of Abhishek Singh
Sent: 27 November 2019 15:31
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Difference cpu clock and sys clock


Hi Javed,

To do that, add these flags in your command line

—cpu-clock=‘xGHz’ —sys-clock=‘yGHz’

On Wed, Nov 27, 2019 at 2:16 AM Javed Osmany 
<[email protected]<mailto:[email protected]>> wrote:
Hello

If one wants to set the CPU clock to be different to the system clock, how does 
one go about doing this?

I could not find the mechanism to set the [cpu, system] clocks separately.

Regards

JO


From: gem5-users 
[mailto:[email protected]<mailto:[email protected]>] On 
Behalf Of Abhishek Singh
Sent: 27 November 2019 00:45
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Difference cpu clock and sys clock

I always set it same
System clock is for peripheral
Most times we focus more on cpu clock

On Mon, Nov 25, 2019 at 3:12 PM Nikos Giakoumoglou 
<[email protected]<mailto:[email protected]>> wrote:
What is the difference in cpu and sys clock?
Can’t figure it out from any file

NG
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to