You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstime
Joe Tsai e42be5a060
tstime/mono: fix Time.Unmarshal (#8480)
Calling both mono.Now() and time.Now() is slow and
leads to unnecessary precision errors.
Instead, directly compute mono.Time relative to baseMono and baseWall.
This is the opposite calculation as mono.Time.WallTime.

Updates tailscale/corp#8427

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
11 months ago
..
mono tstime/mono: fix Time.Unmarshal (#8480) 11 months ago
rate tstime/rate: add Value (#7491) 1 year ago
jitter.go all: update copyright and license headers 1 year ago
jitter_test.go all: update copyright and license headers 1 year ago
tstime.go tstime: rely on stdlib parse functionality (#7482) 1 year ago
tstime_test.go tstime: rely on stdlib parse functionality (#7482) 1 year ago