Profiling Power Consumption for ARM for Program C

I have several C programs, each of which performs the same functionality. I want to evaluate / calculate which one has lower power consumption (on ARM) Is ​​there any tool (simulator) with which I can simulate and get the amount of energy consumed and compare the same for each of the programs on the desktop ?

Based on this, I decide which of these applications I will finally install on ARM.

+5
source share
2 answers

this is not something that you can simply simulate and run, you will need to know the exact kernel and gate keys, etc., and also apply this to the cell library and go on and on. If you work with / for a company manufacturing a chip, ask the Kremlin team that they can have a tool, otherwise you will have to measure the difference in power on a PC card that runs code on real chips. The rtl hand and the properties of the cell library are not available to the general public only for those people who paid for these items.

+3
source

This tool looks pretty promising. This is part of the ARM RVDS 4.0 Pro .

. . . , .

gcc-arm, GNU Profiler.

+1