commit | 40d705dc585f07ecb1cbe6c2c75026a13fc8e339 | [log] [tgz] |
---|---|---|
author | Jay Doane <jay.s.doane@gmail.com> | Sat Dec 22 20:45:17 2018 -0800 |
committer | Jay Doane <jay.s.doane@gmail.com> | Sat Dec 22 20:45:17 2018 -0800 |
tree | 6e97b3573c6fcdee3778c8544fe1e7de4bd7b917 | |
parent | 5891eee9aeb66b46d932d4bdcd806accc1d1ead2 [diff] |
Parameterize time unit Previously, time values took the form {MegaSec, Sec, MicroSec}, and erlang:now/0 was used to guarantee strict monotonic uniqueness for access time. With the deprecation of erlang:now/0, tuples of the form {time_value, unique_monotonic_integer} now guarantee uniqueness of access time. By default, the time unit for internal comparison remains 'millisecond', although it can now be optionally parameterized by any time unit supported by erlang:monotonic_time/1.