How to Design Programs Languages

1`` | Beginning Student
2`` | Beginning Student with List Abbreviations
3`` | Intermediate Student
4`` | Intermediate Student with Lambda
5`` | Advanced Student
| Index

On this page:

time

Version: 4.0.2
contents index
← prev up next →

#### 3.6`` time

(time expr)

This form is used to measure the time taken to evaluate expr. After evaluating expr, 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.

contents index
← prev up next →