Hi,

You're looking at the wrong place. As Majid said, this parameter is the
system clock, not the CPU clock.
Take a look at the cpu section in your config.ini. You should see
something like "clk_domain=system.cpu_clk_domain". This object
(cpu_clk_domain) contains the CPU clock. It its section, you should see
the CPU clock value.

For example, a CPU clock of 3GHz:

[system.cpu_clk_domain]
type=SrcClockDomain
clock=333

On 02/08/2017 07:33 PM, Majid Namaki Shoushtari wrote:
> Hi Ayman,
> 
> You may need to change the system clock with "--sys-clock". Its default
> value is 1GHz.
> sys-clock defines "Top-level clock for blocks running at system speed" and
> cpu-clock defines "Clock for blocks running at CPU speed".
> 
> Majid
> 
> On Wed, Feb 8, 2017 at 9:47 AM, Moussa, Ayman <[email protected]
>> wrote:
> 
>> Hi all
>>
>>
>> When I run a simulation using the standard se.py, why aren't the supplied
>> arguments to script overwritten?
>>
>> For example
>>
>>
>> build/X86/gem5.opt configs/example/se.py --cpu-clock="2GHz" -c ../MM1.x86
>> -o "32"
>>
>>
>> When I check stats.txt, I see this
>>
>>
>> system.clk_domain.clock
>> 1000                       # Clock period in ticks
>>
>>
>> Even though I supplied 2GHz, the exiting tick changes but the output in
>> stats.txt is the same? I'm really confused.
>>
>>
>> Thanks
>>
>> Ayman
>>
>> _______________________________________________
>> gem5-users mailing list
>> [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
> 

-- 
+-------------------------------------------------------------+
| Pierre-Yves Péneau - PhD student |  first.last at lirmm.fr  |
| LIRMM / CNRS - SYSMIC team       |    + 33 4 67 41 86 33    |
| Building 4 Office H2.2           |    http://walafc0.org    |
+-------------------------------------------------------------+

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to