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/rate
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>
1 year ago
..
rate.go tstime/rate: add Value (#7491) 1 year ago
rate_test.go all: update copyright and license headers 1 year ago
value.go tstime/rate: add Value (#7491) 1 year ago
value_test.go tstime/rate: add Value (#7491) 1 year ago