History log of /external/jemalloc/test/unit/nstime.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
45a5bf677299eb152c3c47836bd5d946234ce40e 11-Oct-2016 Jason Evans <jasone@canonware.com> Do not advance decay epoch when time goes backwards.

Instead, move the epoch backward in time. Additionally, add
nstime_monotonic() and use it in debug builds to assert that time only
goes backward if nstime_update() is using a non-monotonic time source.
/external/jemalloc/test/unit/nstime.c
9bad07903962962de9f656d281b9b1e7e9501c87 21-Feb-2016 Jason Evans <jasone@canonware.com> Refactor time_* into nstime_*.

Use a single uint64_t in nstime_t to store nanoseconds rather than using
struct timespec. This reduces fragility around conversions between long
and uint64_t, especially missing casts that only cause problems on
32-bit platforms.
/external/jemalloc/test/unit/nstime.c