time

(time EXPRESSION)
This form is used to measure the time taken to evaluate the enclosing expression. After evaluating the expression, Scheme prints out the time taken by the evaluation (including real time, time taken by the cpu, and the time spent collecting free memory) and returns the result of the expression.

Intermediate Student Table of Contents