Merge remote-tracking branch 'github/eliminate_gettimeofday_cached'

This commit is contained in:
Nick Mathewson
2018-05-01 13:27:02 -04:00
13 changed files with 200 additions and 72 deletions
+6
View File
@@ -0,0 +1,6 @@
o Minor features (timekeeping, circuit scheduling):
- When keeping track of how busy each circuit have been recently on
a given connection, use coarse-grained monotonic timers rather than
gettimeofday(). This change should marginally increase accuracy
and performance. Implements part of ticket 25927.
+5
View File
@@ -0,0 +1,5 @@
o Code simplification and refactoring:
- Remove our previous logic for "cached gettimeofday()" -- our coarse
monotonic timers are fast enough for this purpose, and far less
error-prone. Implements part of ticket 25927.