proscapula
removed assumption based on value of internal-time-units-per-second darcs-hash:20060210234410-2648a-b283b634b2afc41b84a0a47fb5778e7a890a2572.gz
This commit is contained in:
parent
5b98b79ee7
commit
a7a6d742f6
1 changed files with 4 additions and 3 deletions
7
osc.lisp
7
osc.lisp
|
@ -238,9 +238,10 @@
|
|||
((equalp utime :time)
|
||||
(cat (encode-int32 (- (get-universal-time) +unix-epoch+))
|
||||
(encode-int32
|
||||
(round (* 1000 (second (multiple-value-list
|
||||
(floor (/ (get-internal-real-time)
|
||||
internal-time-units-per-second)))))))))
|
||||
(round (* internal-time-units-per-second
|
||||
(second (multiple-value-list
|
||||
(floor (/ (get-internal-real-time)
|
||||
internal-time-units-per-second)))))))))
|
||||
((integerp utime)
|
||||
(cat (encode-int32 (+ utime +unix-epoch+))
|
||||
(encode-int32 subseconds)))
|
||||
|
|
Loading…
Reference in a new issue