Add ms for latency
While working on !169 (merged), I was getting strange results for upload latencies. They were whole number, or some fraction of a second, like '0.333s' '0.667s'.
I think the problem is that time.gmtime()
rounds down to the nearest second. I'm not sure how that could cause the fractions above, but it certainly isn't millisecond precision.
I'm now adding time.time() % 1
to latency to get the ms as well.
We also use time.gmtime()
for our psd time, but that shouldn't need to be millisecond precision.
Tests
Needs a quick test on MDC.