Time Resolution

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Jan 31 06:24:21 EST 2005


Ashley Yakeley <ashley at semantic.org> writes:

> Here are some suggestions. Not all of them are good ones:

Let me add more:

* Integer, where the unit is implementation-dependent, available
  as ticksPerSecond (probably a nanosecond on common hardware, but
  without ruling out other resolution in specialized circumstances
  or in future).

* A new type, internally implemented like the above, but which behaves
  as a fractional number of seconds.

Both variants are applicable to both absolute times and time durations.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Libraries mailing list