[U-Boot] [U-Boot,v2] Add a command to access the system timer
Tom Rini
trini at ti.com
Thu Oct 4 03:20:43 CEST 2012
On Wed, Oct 03, 2012 at 12:14:57PM -0000, Joe Hershberger wrote:
> Two sub-commands... start and get.
> * start sets the reference.
> * get prints out the time since the last start (in "<sec>.<msec>" format).
> If get is called without start, returns time since boot.
> Simple way to benchmark an operation: "timer start;<commands-to-measure>;timer get"
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20121003/109a72bc/attachment.pgp>
More information about the U-Boot
mailing list