Skip to content

Commit

Permalink
Implement accurate timer for PUC platform
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazedProgrammer committed Mar 20, 2019
1 parent f40dc28 commit eb1fd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(defun get-time-raw! () :hidden
(case (get-platform)
[cc (os/clock)]
[puc (os/time)]))
[puc (/ (tonumber (run-program! "date +%s%N")) 1000000000)]))

(define startup-time :hidden
(get-time-raw!))
Expand Down

0 comments on commit eb1fd90

Please sign in to comment.