Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
On Wed, 4 Jan 2017, Robert Elz wrote:
Date: Wed, 4 Jan 2017 05:52:45 +0000
From: David Holland <dholland-sourcechanges%netbsd.org@localhost>
Message-ID: <20170104055245.GA16923%netbsd.org@localhost>
| also make it nsec...
Since it is a 64 bt value, better would be pico-secs if it is going
to continue to be a timeval/timespec kind of number - but better would be
to make it be a binary fraction of a second (ie: fixed point with the
point to the left of the MSBit position - then the precision can grow
as needed (to absurd values) without canging the API)
Either is possible, although converting to fixed-point fraction is
marginally more expensive (requires a division vs multiplication).
Does anyone else have any preferences? I'd prefer that the next "touch"
on this be the last one, at least for a while. :)
+------------------+--------------------------+------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+
Home |
Main Index |
Thread Index |
Old Index