Skip to content
Snippets Groups Projects
Commit da83bcd7 authored by Joe Hershberger's avatar Joe Hershberger Committed by Tom Rini
Browse files

Add a command to access the system timer


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: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent c167cc02
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment