commit | 5f11fb7d43795e9e2f5d72c8a43a042baaee9b63 | [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:15:10 2016 -0700 |
tree | 24e3b4aeb23578b483b46f9804d0a6545aac5a8b | |
parent | ee0c74b77a24dc4fdaad2c950bcf621b6fa54095 [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.