[U-Boot] [PATCH v3 01/54] Add a dhrystone benchmark command

Simon Glass sjg at chromium.org
Sat Jul 18 01:56:03 CEST 2015


On 23 June 2015 at 15:38, Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  lib/Kconfig         |   2 +
>  lib/Makefile        |   2 +
>  lib/dhry/Kconfig    |   7 +
>  lib/dhry/Makefile   |   7 +
>  lib/dhry/cmd_dhry.c |  34 ++++
>  lib/dhry/dhry.h     | 442 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  lib/dhry/dhry_1.c   | 421 +++++++++++++++++++++++++++++++++++++++++++++++++
>  lib/dhry/dhry_2.c   | 217 ++++++++++++++++++++++++++
>  8 files changed, 1132 insertions(+)
>  create mode 100644 lib/dhry/Kconfig
>  create mode 100644 lib/dhry/Makefile
>  create mode 100644 lib/dhry/cmd_dhry.c
>  create mode 100644 lib/dhry/dhry.h
>  create mode 100644 lib/dhry/dhry_1.c
>  create mode 100644 lib/dhry/dhry_2.c

Applied to u-boot-dm.


More information about the U-Boot mailing list