Re: [gem5-users] Difference cpu clock and sys clock

2019-12-03 Thread Nick Giakoumoglou
When writing the bash commant add: --sys-clock=1GHz --cpu-clock=2GHz From: Javed OsmanySent: 27 November 2019 09:16To: gem5 users mailing listSubject: Re: [gem5-users] Difference cpu clock and sys clock 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:gem5-users-boun...@gem5.org] On Behalf Of Abhishek SinghSent: 27 November 2019 00:45To: gem5 users mailing list 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 <giakonic...@gmail.com> wrote:What is the difference in cpu and sys clock? Can’t figure it out from any file NG___gem5-users mailing listgem5-users@gem5.orghttp://m5sim.org/cgi-bin/mailman/listinfo/gem5-users 
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-27 Thread Javed Osmany
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:gem5-users-boun...@gem5.org] On Behalf Of Jason 
Lowe-Power
Sent: 27 November 2019 16:38
To: gem5 users mailing list 
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 
mailto:javed.osm...@huawei.com>> wrote:
Hello Abhishek

Tks for the info.

Regards

JO


From: gem5-users 
[mailto:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] On 
Behalf Of Abhishek Singh
Sent: 27 November 2019 15:31
To: gem5 users mailing list mailto:gem5-users@gem5.org>>
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 
mailto:javed.osm...@huawei.com>> 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:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] On 
Behalf Of Abhishek Singh
Sent: 27 November 2019 00:45
To: gem5 users mailing list mailto:gem5-users@gem5.org>>
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 
mailto:giakonic...@gmail.com>> wrote:
What is the difference in cpu and sys clock?
Can’t figure it out from any file

NG
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-27 Thread Jason Lowe-Power
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 
wrote:

> Hello Abhishek
>
>
>
> Tks for the info.
>
>
>
> Regards
>
>
>
> JO
>
>
>
>
>
> *From:* gem5-users [mailto:gem5-users-boun...@gem5.org] *On Behalf Of 
> *Abhishek
> Singh
> *Sent:* 27 November 2019 15:31
> *To:* gem5 users mailing list 
> *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 
> 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:gem5-users-boun...@gem5.org] *On Behalf Of 
> *Abhishek
> Singh
> *Sent:* 27 November 2019 00:45
> *To:* gem5 users mailing list 
> *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 
> wrote:
>
> What is the difference in cpu and sys clock?
> Can’t figure it out from any file
>
> NG
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-27 Thread Javed Osmany
Hello Abhishek

Tks for the info.

Regards

JO


From: gem5-users [mailto:gem5-users-boun...@gem5.org] On Behalf Of Abhishek 
Singh
Sent: 27 November 2019 15:31
To: gem5 users mailing list 
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 
mailto:javed.osm...@huawei.com>> 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:gem5-users-boun...@gem5.org<mailto:gem5-users-boun...@gem5.org>] On 
Behalf Of Abhishek Singh
Sent: 27 November 2019 00:45
To: gem5 users mailing list mailto:gem5-users@gem5.org>>
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 
mailto:giakonic...@gmail.com>> wrote:
What is the difference in cpu and sys clock?
Can’t figure it out from any file

NG
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-27 Thread Abhishek Singh
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 
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:gem5-users-boun...@gem5.org] *On Behalf Of 
> *Abhishek
> Singh
> *Sent:* 27 November 2019 00:45
> *To:* gem5 users mailing list 
> *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 
> wrote:
>
> What is the difference in cpu and sys clock?
> Can’t figure it out from any file
>
> NG
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-26 Thread Javed Osmany
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:gem5-users-boun...@gem5.org] On Behalf Of Abhishek 
Singh
Sent: 27 November 2019 00:45
To: gem5 users mailing list 
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 
mailto:giakonic...@gmail.com>> wrote:
What is the difference in cpu and sys clock?
Can’t figure it out from any file

NG
___
gem5-users mailing list
gem5-users@gem5.org<mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Difference cpu clock and sys clock

2019-11-26 Thread Abhishek Singh
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 
wrote:

> What is the difference in cpu and sys clock?
> Can’t figure it out from any file
>
> NG
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Difference cpu clock and sys clock

2019-11-25 Thread Nikos Giakoumoglou
What is the difference in cpu and sys clock? 
Can’t figure it out from any file 

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