Nick Mathewson
|
9abf541f7f
Add a function to compute millisecond time difference quickly.
|
6 years ago |
Neel Chauhan
|
ce84de39ef
Make tor_gettimeofday() mockable
|
6 years ago |
Nick Mathewson
|
d8ef9a2d1e
Expose a function that computes stamp units from msec.
|
6 years ago |
Nick Mathewson
|
dd6dec2665
Add a function to add msec to a monotime.
|
7 years ago |
Nick Mathewson
|
4c877ae874
Add monotime functions for clearing monotonic times
|
7 years ago |
Nick Mathewson
|
021fdd39e4
Use mach_approximate_time() for coarse time where available.
|
7 years ago |
Nick Mathewson
|
c3c0a05f51
Add a new notion of "stamps" to be a fast 32-bit monotonic timestamp
|
7 years ago |
Nick Mathewson
|
c1deabd3b0
Run our #else/#endif annotator on our source code.
|
7 years ago |
Nick Mathewson
|
7a597718bb
Split some long #if lines to make the #endif annotator happy
|
7 years ago |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 years ago |
Nick Mathewson
|
22314f9050
loony mingwcross bug: insist we dont have clock_gettime.
|
8 years ago |
Nick Mathewson
|
2d26b1a549
Actually make monotonic time functions mockable.
|
8 years ago |
Nick Mathewson
|
72a1f0180d
Revert "Make the monotonic{_coarse,}_get() functions mockable."
|
8 years ago |
Nick Mathewson
|
2999f0b33f
Make the monotonic{_coarse,}_get() functions mockable.
|
8 years ago |
Nick Mathewson
|
2a217ef723
Expose monotonic time ratchet functions for testing.
|
8 years ago |
Nick Mathewson
|
dc6f5d1dc1
Basic portable monotonic timer implementation
|
8 years ago |
Nick Mathewson
|
aa971c5924
Move our "what time is it now" compat functions into a new module
|
8 years ago |