Hi,

The input which you are feeding to McPAT is not correct, that is why you
are getting inf as runtime dynamic. Compare your template with sample
inputs came with McPAT. Most probably some values specified in your
template-xeon will be stats.system.cpu.xxx. that you have to change to
stats.system.cpu0.xxx. if you are running multicore simulation cpu tag wont
be there. There will be multiple statistics corresponds to different cores
in the format cpu0, cpu1, cpu2...etc.. change those in template.

eg :
*stats.system.cpu.numCycles* need to change to *stats.system.cpu0.numCycles*

Read the warnings coming during gem5 output to McPAT input conversion. You
can see warnings related with these tags..

Regards,

Midhun P


On 6 July 2017 at 12:42, 赵智慧 <[email protected]> wrote:

> Hi,Midhun P
>
> Thanks for your answer.
>
> But I want to know why the value of runtime dynamic is inf, rather than a
> specific value?
>
> And my goal is to measure the energy consumption of different programs
> with the same configuration in gem5,, how can I do?
>
>
> -----原始邮件-----
> *发件人:*"Midhun P" <[email protected]>
> *发送时间:*2017-07-06 12:35:27 (星期四)
> *收件人:* "gem5 users mailing list" <[email protected]>
> *抄送:*
> *主题:* Re: [gem5-users] McPAT show the same power log file
>
>
> Hi,
> Only runtime dynamic will be different for different programs. All other
> metrics (area, leakage etc) are depends on system config, so on different
> programs with same system configuration, you will get same value.
>
> Regards,
> Midhun P
>
> On 06-Jul-2017 7:42 AM, "赵智慧" <[email protected]> wrote:
>
>> Hi,
>>
>> I ran different programs on gem5's SE mode. “./build/X86/gem5.opt
>> configs/example/se.py -c /home/zzh/code/scale_pre_00 -o 5 -n 2
>> --mem-size=2048MB --caches --l2cache --l2_size 1MB --cpu-clock 1.46GHz
>> --cpu-type=detailed”
>>
>> Then I used McPAT to analyze their power.I follow the URL of the method,
>> with the inside of the files——GEM5ToMcPAT.py、template-xeon.xml
>> https://bitbucket.org/dskhudia/gem5tomcpat/src
>>
>> But I get the contents of the two power files actually exactly the same.
>>
>> What's the problem with this? Or,power is not related to the running
>> program? Power is only related to the hardware structure of the simulation?
>>
>> _______________________________________________
>> 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
>



-- 
Regards,

Midhun P
mail to : [email protected]
             [email protected]
Mobile : +91-9946001223 <[email protected]>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to