Hi Kevin,

I have updated the script you shared here:

https://wiki.linaro.org/WorkingGroups/PowerManagement/Doc/AdaptiveTickless?action=AttachFile&do=view&target=nohz-test-cpuset.sh

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 :)

--
viresh

Attachment: is-cpu-isolated.sh
Description: Bourne shell script

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to