clock-thunk

Name

clock-thunk -- Measure the execution time (as by clock()) of a function.

Type: function

Synopsis

clock-thunk( thunk, elapsed);

Arguments

thunk

An instance of <function>

Return Values

elapsed

An instance of <interval>

Description

Measure the execution time (as by clock()) of a function. The clock() function supposedly measures CPU (process) time, not wall clock time.