mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 08:17:35 +02:00
Disable debug printing
This commit is contained in:
parent
06d900bea9
commit
dd9b612be4
1 changed files with 6 additions and 5 deletions
|
@ -28,12 +28,13 @@
|
|||
; Placeholder for future enhancement to show elapsed time by phase:
|
||||
(define *start* (current-second))
|
||||
;; TODO: make this a cmd line option
|
||||
(define *report-elapsed* #t)
|
||||
(define *report-elapsed* #f)
|
||||
(define (report:elapsed label)
|
||||
(when *report-elapsed*
|
||||
(display "Elapsed is " (current-error-port))
|
||||
(display (- (current-second) *start*) (current-error-port))
|
||||
(display (string-append " at " label) (current-error-port))
|
||||
(newline (current-error-port)))
|
||||
(newline (current-error-port))))
|
||||
|
||||
;; Code emission.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue