timer
Returns the elapsed time.
Syntax
timer([expr])
Argument
- [expr]
- An optional expression used to set the timer.
Example
Templex Expression |
---|
|
Comments
If timer is used without an argument, it returns the elapsed time in microseconds since the first time it was called.
If timer is used with an argument, the clock is reset to the value (in microseconds) specified by expr.