This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see Chronometer in WG2's repo for R7RS-large.

Chronometer

medernac
2011-01-07 18:18:22
1Chronometer creationhistory
source

Chronometer

(make-chronometer)

Returns a new chronometer object.

(chronometer-start! <chronometer>)

(chronometer-stop! <chronometer>)

(chronometer-reset! <chronometer>)

resets <chronometer> time to zero.

(chronometer-accuracy <chronometer>) ;; optional

(chronometer-time <chronometer>)

measures the elapsed accumulated time between the starting times and stop times.