-----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.lezc...@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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOMBzFAAoJEAKBbMCpUGYAQ9gIALH6EvdXmLLqfELLpk7cy2nb
oiZtdofYKl8CJkinrtTu+lrnveRNI2IUJBxAM9Vr0SPmqBlX6XILdM/P3W+qwh40
4XsZnlNikfMlH968y5uBMIZXVdXZP6QvD3YvwV7yejbICdTXL6vSN0MQO85tdk0t
dysRNsAeZLu+Pvgerm1x6IblG6uY4JShjQRb+n/eUpah0i/VLFwAO3kNiBIqI6Yn
zBNEQ7RZPYE3ovfgRJ8dPDBN8jskzFK+kqmaAuXLsNyFeKlmav1Dw/Hym/FTrp9r
ZEB1peV902zW+mbo96BjvTRPOEqnOUw1bmwvT9k99/Fky6qTKfAMhZq1jkUHRWs=
=DoE8
-----END PGP SIGNATURE-----

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

Reply via email to