Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2001 18:35:22 +0200
From:      Bernd Luevelsmeyer <bdluevel@heitec.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        David Malone <dwmalone@maths.tcd.ie>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/30297: CLOCKS_PER_SEC non-standard
Message-ID:  <20010905163522.66598B8101@christel.heitec.net>
References:  <20010906011650.T24132-100000@alphplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
[...]
> More because it would break binary compatibilty.  I wanted to change
> CLOCKS_PER_SEC to 1 million many years ago (clocks.7 says a little
> about this), but didn't want to face the binary compatibilty issues.
> clock_t would have to be int64_t or uint64_t...

That's worse than I thought; in fact I didn't consider that with
1000000 units per second and 32 bits to count you get only 0.05
days, a little more than one hour. That's of course impossible, but
widening clock_t to 64 bits is also stupid if it's done just for the
conformance, without helping the resolution at all.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010905163522.66598B8101>