Hi,
In my project I need to dump out the power profile (with time) for some
benchmarks. In that case, I think I need to dump out the GEM5 statistics to
McPAT for power calculation every a few cycles.
As I'm very new to GEM5, could anybody let me know where to start for
dumping GEM5 statistics
I think you should make modifications to the Python script that makes
GEM5 execute, such that every N cycles you dump statistics to a new
file, reset statistics and get back to execution. Probably some hints
can be found in the configs/example directory under GEM5, which
contain execution scripts.
Hi all,
I've checked the scripts under configs/example and configs/common. However,
I didn't find the option or related functions to dump the statistics every
N cycles. I do try the checkpoints option, but the output is not the same
as in m5out/stats.txt.
Could anybody let me know how I can dump
Xiao,
One of my colleagues at Notre Dame, Sheng Li, was working on a tool called
McPAT for power analysis. I believe that it has been shown to work with
gem5. This might be useful for you. Last I heard, Li and McPAT had moved
to HP: http://www.hpl.hp.com/research/mcpat/.
Patrick La Fratta
On
As Patrick said, to enable DVFS with GEM5 simulation, you have to plug
a power model. McPAT can be used to generate power estimates according
to the statistics collected from a cycle-accurate simulation with GEM5
(you need also to translate GEM5 output statistics to XML format as
required by