commit | 45a5bf677299eb152c3c47836bd5d946234ce40e | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Oct 10 22:15:10 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Mon Oct 10 22:31:37 2016 -0700 |
tree | c4ca8aa8f0132e986e745d21f890a2420feb0ce2 | |
parent | 94e7ffa9794792d2ec70269a0ab9c282a32aa2ec [diff] |
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.