diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-12-08 09:24:02 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-12-08 09:24:02 -0500 |
commit | 021fdd39e4ebbe8ddee9b10823af76fbb11e7878 (patch) | |
tree | 993dd4ef79f5d5deb3dd48777ea7b50f18843a6e /changes | |
parent | afceb431ed3a1c4daf303e5245a05f800d596fa6 (diff) | |
download | tor-021fdd39e4ebbe8ddee9b10823af76fbb11e7878.tar.gz tor-021fdd39e4ebbe8ddee9b10823af76fbb11e7878.zip |
Use mach_approximate_time() for coarse time where available.
This lets us have a coarse-time implementation with reasonable
performance characteristics on OSX and iOS.
Implements 24427.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/feature24427 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/feature24427 b/changes/feature24427 new file mode 100644 index 0000000000..8650c45d31 --- /dev/null +++ b/changes/feature24427 @@ -0,0 +1,5 @@ + o Minor features (OSX, iOS, performance): + - Use the mach_approximate_time() function (when available) to + implement coarse monotonic time. Having a coarse time function + should avoid a large number of system calls, and improve + performance slightly, especially under load. Closes ticket 24427. |