Skip to content

Commit

Permalink
Timestamp output to aid DrDr debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
samth committed Jun 28, 2024
1 parent f477e7c commit 9cca005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/compiler-test/tests/compiler/embed/test.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(require compiler/embed
racket/file
racket/format
racket/system
racket/port
launcher
Expand Down Expand Up @@ -61,6 +62,7 @@
(thunk))))

(define (printf/flush . args)
(printf "~a " (~r #:min-width 10 #:precision '(= 2) (/ (current-process-milliseconds) 1000.)))
(apply printf args)
(flush-output))

Expand Down

0 comments on commit 9cca005

Please sign in to comment.