-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 07/27/2011 03:47 PM, Amit Kucheria wrote:
On 11 Jul 26, Daniel Lezcano wrote:
This little program takes the cpu # as parameter, set the affinity and renice itself to the maximum priority. It increments a counter during one second, display the coutner's value and exit.
Signed-off-by: Daniel Lezcano daniel.lezcano@linaro.org
Have you looked at the cpuburn program?
Yes, but as far as I know it works for x86 only and was written in assembly.
Moreover the cpuburn program is dangerous:
"*** WARNING *** This program is designed to heavily load CPU chips. Undercooled, overclocked or otherwise weak systems may fail causing data loss (filesystem corruption) and possibly permanent damage to electronic components. Nor will it catch all flaws. *** USE AT YOUR OWN RISK ***"
I prefer to use our own program doing exactly what we need. In the future, when more pm blocks test will be written and I expect cpuburn will merge with a more global cpu utility program we will write.