Search code examples
performanceqemuenergy

Emulation and Energy Consumption in QEMU


I need to emulate a particular architecture namely Cortex ARM A9. I was thinking about QEMU (what do you think about it) with a distro linux.

The problem is that I would to measure the energy consumption of a mathematical operation on this architecture, for example an exponentiation, or an elliptic curve addition/multiplication. The programming language could be python or C.

Do you have an idea on what I can to do that?

Furthermore, in an emulated architecture who guarantee me that I will have the right timings about the execution of these operations?


Solution

  • QEMU is neither cycle accurate or a microarchictecture simulation. You may be able to build your own energy model with the recently added plugins but I suspect you need more low level tools.