[RFC] commands: Add dhrystone

Antony Pavlov antonynpavlov at gmail.com
Thu Jul 16 09:02:42 PDT 2015


On Thu, 16 Jul 2015 15:50:33 +0200
Daniel Schultz <d.schultz at phytec.de> wrote:

> This tool will help to measure the system performance.
> 
> Signed-off-by: Daniel Schultz <d.schultz at phytec.de>

...
> +
> +BAREBOX_CMD_HELP_START(dhrystone)
> +BAREBOX_CMD_HELP_TEXT(
> +"this command runs a dhrystone benchmark to get an astimation of the CPU freq")
                      ^^                              ^^^^^^^^^^ estimation?
                        do you mean that there are __several__ __different__ dhrystone benchmarks?


> +BAREBOX_CMD_HELP_END
> +
> +BAREBOX_CMD_START(dhrystone)
> +	.cmd		= do_dhrystone,
> +	BAREBOX_CMD_DESC("run dhrystone test, specify number of runs")
> +	BAREBOX_CMD_OPTS("number_of_runs")
> +	BAREBOX_CMD_GROUP(CMD_GRP_INFO)
> +	BAREBOX_CMD_HELP(cmd_dhrystone_help)
> +BAREBOX_CMD_END
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox


-- 
-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list