commit | cdabe908d05ba68da248edf1dd9f522af1ec6024 | [log] [tgz] |
---|---|---|
author | Qi Wang <interwq@gwu.edu> | Tue Nov 16 14:51:07 2021 -0800 |
committer | Qi Wang <interwq@gmail.com> | Wed Nov 17 15:49:27 2021 -0800 |
tree | e22ba4216af2bca8f93e467b7909f6e18a7ed996 | |
parent | 400c59895a744068994025cf33f80b56bc960a35 [diff] |
Track the initialized state of nstime_t on debug build. Some nstime_t operations require and assume the input nstime is initialized (e.g. nstime_update) -- uninitialized input may cause silent failures which is difficult to reproduce / debug. Add an explicit flag to track the state (limited to debug build only). Also fixed an use case in hpa (time of last_purge).