Commit 0919399d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4b810d2b
......@@ -30,8 +30,8 @@ import (
// XXX better return time.Duration?
func Mono() float64 {
// time.Sub uses monotonic clock readings for the difference
// FIXME py retruns it since epoch, not since start
return time.Now().Sub(tstart).Seconds()
}
// FIXME py retruns it since epoch
var tstart time.Time = time.Now()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment