RubyGems Navigation menu

absolute_time 1.0.0

This gem provides a monotonically increasing timer to permit safe measurement of time intervals. Using Time.now for measuring intervals is not reliable (and sometimes unsafe) because the system clock may be stepped forwards or backwards between the two measurements, or may be running slower or faster than real time in order to effect clock synchronization with UTC. The module uses OS-specific functions such as mach_absolute_time() and clock_gettime() to access the system tick counter. The time values returned by this module cannot be interpreted as real time clock values; they are only useful for comparison with another time value from this module.

Versions:

  1. 1.0.0 - February 6, 2013 (11.5 KB)
  2. 0.1.0 - September 17, 2011 (6.5 KB)

Authors:

  • Brian Buchanan

Owners:

940a452c72fa3a559d76fdf9baedc6bf

Sha 256 checksum:

343a002ca5d0950eb56e8fceb9fdfc3e52cf8975a3502fae84e833fe8bb4bd5c

Total downloads 28,111

For this version 21,065

Required Ruby Version: None

Licenses:

BSD

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: