Rebol Programming/delta-time
USAGE:
DELTA-TIME block
DESCRIPTION:
Delta-time - returns the time it takes to evaluate the block.
DELTA-TIME is a function value.
ARGUMENTS
- block -- (Type: block)
SOURCE CODE
delta-time: func [
{Delta-time - returns the time it takes to evaluate the block.}
block [block!] /local
start
][
start: now/precise
do block
difference now/precise start
]