< Rebol Programming
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 ]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.