系统时钟频率加倍不会将模拟时间减半?

时间:2018-08-22 18:48:55

标签: gem5

我正在SE模式下玩游戏,脚本为'GEM5_PATH / configs / learning_gem5 / part2 / simple_memobj.py',我在以下频率之间进行了更改:

# Set the clock fequency of the system (and all of its children)
system.clk_domain = SrcClockDomain()
system.clk_domain.clock = **'1GHz'**

# Set the clock fequency of the system (and all of its children)
system.clk_domain = SrcClockDomain()
system.clk_domain.clock = **'2GHz'**

我从“ stats.txt”中读取了大约sim_seconds的第一行,其中1GHz占用0.000508s,而2GHz占用0.000459s,随着整个系统频率加倍,这不会减半。关于原因的任何提示?是否需要其他任何配置以使其达到期望?

命令是: build / X86 / gem5.opt configs / learning_gem5 / part2 / simple_memobj.py

基准是: 'tests / test-progs / hello / bin / x86 / linux / hello'

非常感谢。

0 个答案:

没有答案
相关问题