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.
2 files changed
tree: 6e97b3573c6fcdee3778c8544fe1e7de4bd7b917
  1. .gitignore
  2. .travis.yml
  4. Makefile
  5. src/
  6. test/