Note re possible measurement error
This commit is contained in:
parent
68ccb4fafa
commit
ad7d8f7a81
|
@ -30,6 +30,9 @@
|
|||
(transition s (send-ping src dst))]
|
||||
[(message (ping (== dst) (== src) start-time) _ _)
|
||||
(define stop-time (current-inexact-milliseconds))
|
||||
;; TODO: is there a way of reducing the measurement error here,
|
||||
;; perhaps by recording against run-start-time instead of start-time, somehow?
|
||||
;; TODO: first, characterize the measurement error
|
||||
(define delta (- stop-time start-time))
|
||||
(set! total-latency (+ total-latency delta))
|
||||
(set! total-roundtrips (+ total-roundtrips 1))
|
||||
|
|
Loading…
Reference in New Issue