Measure executing time on ARM Cortex-A8 using hardware counter

后端 未结 2 1836
清歌不尽
清歌不尽 2020-12-25 10:09

I\'m using a Exynos 3110 processor (1 GHz Single-core ARM Cortex-A8, e.g. used in the Nexus S) and try to measure execution times of particular functions. I have an Android

2条回答
  •  感动是毒
    2020-12-25 10:42

    Are you sure governors are used in Android for performance management the same way that in standard Linux? And are you using custom Android image or one provided by manufacturer? I would assume there are lower level policies in place in manufacturer provided image (tied to sleeps or modem activity, etc). It could be also that sleep code directly scales voltage and frequency. It might be worthwhile to disable the whole CPUFreq not just the policies (or governors).

提交回复
热议问题