tailscale/tstime
Joe Tsai 87b4bbb94f
tstime/rate: add Value (#7491)
Add Value, which measures the rate at which an event occurs,
exponentially weighted towards recent activity.
It is guaranteed to occupy O(1) memory, operate in O(1) runtime,
and is safe for concurrent use.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2023-03-09 11:13:09 -08:00
..
mono all: update copyright and license headers 2023-01-27 15:36:29 -08:00
rate tstime/rate: add Value (#7491) 2023-03-09 11:13:09 -08:00
jitter_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
jitter.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tstime_test.go tstime: rely on stdlib parse functionality (#7482) 2023-03-06 18:05:51 -08:00
tstime.go tstime: rely on stdlib parse functionality (#7482) 2023-03-06 18:05:51 -08:00