Add a dhrystone benchmark command
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:23 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:19 +0000 (17:39 -0600)
commitd1389403ccb93df569e1559ef37edc53e8dbd589
tree70ca67d47a4b45747465aeb230cc04d63af9386b
parentb217c89e8565ade3aaa9f74c33c93236bf151187
Add a dhrystone benchmark command

Drystone provides a convenient sanity check that the CPU is running at full
speed. Add this as a command which can be enabled as needed.

Note: I investigated using Coremark for this but there was a license
agreement and I could not work out if it was GPL-compatible.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/Kconfig
lib/Makefile
lib/dhry/Kconfig [new file with mode: 0644]
lib/dhry/Makefile [new file with mode: 0644]
lib/dhry/cmd_dhry.c [new file with mode: 0644]
lib/dhry/dhry.h [new file with mode: 0644]
lib/dhry/dhry_1.c [new file with mode: 0644]
lib/dhry/dhry_2.c [new file with mode: 0644]