- 29 Jun, 2021 2 commits
-
-
tavit ohanian authored
-
tavit ohanian authored
-
- 25 Jun, 2021 2 commits
-
-
tavit ohanian authored
-
tavit ohanian authored
-
- 06 Dec, 2019 2 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
- 08 Nov, 2019 4 commits
-
-
Steven Allen authored
regression test for issue-65
-
vyzo authored
-
Steven Allen authored
fix bug in meter traversal logic
-
vyzo authored
-
- 01 Nov, 2019 6 commits
-
-
Steven Allen authored
Add methods to clear stats
-
Steven Allen authored
The previous attempt actually make the problem worse: 1. It didn't update the "last update" time. 2. It updated the accumulator but then didn't set the total. That meant that the _next_ update would count the bandwidth from two time periods. This change also reverts the changes to the test (the test was right, the code was wrong).
-
Roman Proskuryakov authored
-
Steven Allen authored
-
Steven Allen authored
1. The last update is when we last saw activity. We don't need to update it when we reset the meter. 2. Defer isn't _quite_ as fast as it could be.
-
Steven Allen authored
1. Handle `registered` inside the main loop. This way we can avoid atomics. 2. Don't start calculating bandwidth for newly active meters until they've been active for a round. This: 1. Ensures we only write to the snapshot from within the main loop. 2. Gives us a better estimated bandwidth usage.
-
- 31 Oct, 2019 7 commits
-
-
Steven Allen authored
-
Roman Proskuryakov authored
-
Roman Proskuryakov authored
-
Roman Proskuryakov authored
-
Roman Proskuryakov authored
-
Roman Proskuryakov authored
-
Roman Proskuryakov authored
-
- 30 Oct, 2019 1 commit
-
-
Steven Allen authored
add a feature for tracking idle timers
-
- 24 Oct, 2019 3 commits
-
-
Steven Allen authored
Also renames a confusing mutex to make it clear what it protects. It protects snapshots, not the meter slice.
-
Steven Allen authored
-
Steven Allen authored
-
- 11 Apr, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 09 Apr, 2019 1 commit
-
-
Yusef Napora authored
-
- 01 Mar, 2019 3 commits
-
-
Raúl Kripalani authored
-
Raúl Kripalani authored
add gomod support // tag v0.0.1.
-
Raúl Kripalani authored
-
- 06 Sep, 2018 2 commits
-
-
Steven Allen authored
Just repair spelling mistake
-
gukq authored
Signed-off-by: gukq <gukaiqiang@gmail.com>
-
- 27 Dec, 2017 1 commit
-
-
Steven Allen authored
fixes #2
-
- 14 Dec, 2017 3 commits
-
-
Steven Allen authored
-
Steven Allen authored
Use range and then trim the meters slice later. It's *much* easier to read.
-
Steven Allen authored
The go schedule isn't that accurate.
-
- 13 Dec, 2017 1 commit
-
-
Steven Allen authored
-
- 12 Dec, 2017 1 commit
-
-
Steven Allen authored
-