gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to measure a ARM core's power consumption?

최순원
Tue, May 9, 2023 3:19 PM

Hello,

I'm new to gem5 and have finished "Getting Started" and "
Modifying/Extending" in the gem5 official documentation.
(https://www.gem5.org/documentation/learning_gem5/part1/simple_config/)

I create a simple configuration script as in "Getting Started".
(
https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/configs/learning_gem5/part1/simple.py
)

And I changed from X86 to ARM core by referring to "Extending gem5 for ARM
".

  • ...
  • system.clk_domain.voltage_domain = VoltageDomain()
  • system.cpu = ArmTimingSimpleCPU()
  • ...

The questing starts here.
How to get the power information about the arm core in this simple system,
not the full system?
I already got a "stats.txt" file, but there is no cpu power information
there.

Thanks for your time.

Thanks,
Choi

Hello, I'm new to gem5 and have finished "*Getting Started*" and " *Modifying/Extending*" in the gem5 official documentation. (https://www.gem5.org/documentation/learning_gem5/part1/simple_config/) I create a simple configuration script as in "*Getting Started*". ( https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/configs/learning_gem5/part1/simple.py ) And I changed from X86 to ARM core by referring to "*Extending gem5 for ARM* ". - ... - system.clk_domain.voltage_domain = VoltageDomain() - system.cpu = ArmTimingSimpleCPU() - ... The questing starts here. How to get the power information about the arm core in this simple system, not the full system? I already got a "stats.txt" file, but there is no cpu power information there. Thanks for your time. Thanks, Choi