/usr/lib/s9fes/help/time is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | S9 LIB (time form) ==> object
The TIME procedures evaluates FORM, measuring the number of
allocation, reductions, etc with the STATS procedure. It also
measures the time spent reducing FORM. When finished, it prints
some interesting data and returns the normal form of FORM.
The FORM must be quoted or it will be reduced *before* running
TIME.
(time '(begin (expt 2 10000) #t)) ==> #t
; 1.8990 seconds
; 350 reduction steps
; 8,327,846 conses allocated
; 8,329,127 total nodes allocated
; 73 garbage collections
|