[Top] [Prev] [Next] [Bottom]

8.16 Timing: timer, timer_print

Calling Sequences

timer (elapsed)
timer (elapsed, split)
timer_print (label1, split1 [,label2, split2, ...])


timer returns a triple consisting of the times [cpu, system, wall]. If argument split is present, a sequence is returned whose first element is [cpu, system, wall] and whose second element is the sum of split and the difference between the new and old values of `elapsed.' timer_print prints out a timing summary for splits accumulated by timer.

[Top] [Prev] [Next] [Bottom]

Copyright © 1997,Regents of the University of California. All rights reserved.