aboutsummaryrefslogtreecommitdiff
path: root/src/common/token_bucket.c
AgeCommit message (Expand)Author
2018-04-17Amend token_bucket_rw_dec to indicate which buckets became empty.Nick Mathewson
2018-04-17token bucket: Add parens to rate_per_sec_to_rate_per_step()Nick Mathewson
2018-04-16token: Fix uint32_t to uint64_t conversionDavid Goulet
2018-04-13token_bucket: Fix indentationDavid Goulet
2018-04-13Refactor "timestamp" not to be its own type coupled to token buffersNick Mathewson
2018-04-13Move token_bucket_raw_* functions to the start of the module.Nick Mathewson
2018-04-13Never pick a rate of 0.Nick Mathewson
2018-04-13Start re-refactoring the token bucket interface.Nick Mathewson
2018-04-13Rename token_bucket_t to token_bucket_rw_t.Nick Mathewson
2018-04-13Accept small hops backward in the monotonic timer.Nick Mathewson
2018-04-13Add a helper function to decrement read and write at the same timeNick Mathewson
2018-04-13Add a new token-bucket backend abstraction, with testsNick Mathewson