From: Tom Rini Date: Wed, 3 Oct 2012 18:20:43 -0700 Subject: [U-Boot] [U-Boot,v2] Add a command to access the system timer In-Reply-To: <1349302497-15457-1-git-send-email-joe.hershberger@ni.com> References: <1349302497-15457-1-git-send-email-joe.hershberger@ni.com> Message-ID: <20121004012043.GJ7623@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 "." format). > If get is called without start, returns time since boot. > Simple way to benchmark an operation: "timer start;;timer get" > > Signed-off-by: Joe Hershberger 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: