Nick Mathewson
|
4212a135e1
Remove util.h and compat.h includes from src/common
|
vor 6 Jahren |
Nick Mathewson
|
bcf3e546d1
Move util_bug into libtor-log
|
vor 6 Jahren |
Nick Mathewson
|
6fc2d53227
Remove util_bug dependency on compat.h
|
vor 6 Jahren |
Nick Mathewson
|
0dab29ce10
Run rectify_include_paths.py
|
vor 6 Jahren |
Nick Mathewson
|
fb0019daf9
Update copyrights to 2018.
|
vor 6 Jahren |
Nick Mathewson
|
b36c450b57
Amend token_bucket_rw_dec to indicate which buckets became empty.
|
vor 6 Jahren |
Nick Mathewson
|
2bf6f1cd39
token bucket: Add parens to rate_per_sec_to_rate_per_step()
|
vor 6 Jahren |
David Goulet
|
ae4e5b9824
token: Fix uint32_t to uint64_t conversion
|
vor 6 Jahren |
David Goulet
|
c2f83746f4
token_bucket: Fix indentation
|
vor 6 Jahren |
Nick Mathewson
|
003e6595bf
Refactor "timestamp" not to be its own type coupled to token buffers
|
vor 6 Jahren |
Nick Mathewson
|
2307bef7a2
Move token_bucket_raw_* functions to the start of the module.
|
vor 6 Jahren |
Nick Mathewson
|
9c405ba595
Never pick a rate of 0.
|
vor 6 Jahren |
Nick Mathewson
|
0b40ed5e70
Start re-refactoring the token bucket interface.
|
vor 6 Jahren |
Nick Mathewson
|
03b96882de
Rename token_bucket_t to token_bucket_rw_t.
|
vor 6 Jahren |
Nick Mathewson
|
3f514fe3b1
Accept small hops backward in the monotonic timer.
|
vor 6 Jahren |
Nick Mathewson
|
8a85239746
Add a helper function to decrement read and write at the same time
|
vor 6 Jahren |
Nick Mathewson
|
c376200f6a
Add a new token-bucket backend abstraction, with tests
|
vor 6 Jahren |