timer:end
List of: Scheme Extensions
Subjects: Debugging
Contents: Kernel

Action: Stops the timer.

Filename: kern/kern_scm/law_scm.cxx

Syntax: (timer:end)

Arg Types: None

Returns: string

Description: The commands timer:start, timer:end, timer:show-time, and timer:get-time are used to measure performance of some command or series of commands. They measure only the CPU time required to execute the command and not any delays incurred from entering the commands into Scheme.

Example: ; timer:end

; Start the timer

(timer:start)

;; "timer on"

; Create a solid block.

(define blockA (solid:block


(position 0 0 0) (position 20 20 20)))

;; blockA

; Create another solid block

(define blockB (solid:block (position 0 0 0)


(position -20 -20 -20)))

;; blockB

;Stop timer.

(timer:end)

;; "timer off, use timer:get-time"

(timer:get-time)

;; 21.271
PDF/KERN/15SCR.PDF
HTM/DATA/KERN/KERN/15SCR/0033.HTM