On 26 November 2013 15:29, Viresh Kumar viresh.kumar@linaro.org wrote:
Hi Kevin,
I have updated the script you shared here:
https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/AdaptiveTickless?a...
to get the time for which cpu wasn't getting interrupted.
Probably this might be useful for few other folks as well and so sharing it.. I am bad at scripting, so please ignore silly code in there :)
So, the script will take a parameter, i.e. number of samples you need and will output the amount of time CPU1 (of a dual-core machine) was isolated.
There is a variable "isdebug", which can be used to enable/disable debug messages.
Let me know if there is something really stupid in it :)
Just for records, this script is pushed here (for others to us):
https://git.linaro.org/qa/test-definitions.git/blob/HEAD:/common/scripts/is-...