autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unportable CLK_TCK


From: Andreas Schwab
Subject: Re: Unportable CLK_TCK
Date: Tue, 27 Jan 2004 21:17:06 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

"Xavier Clarke " <address@hidden> writes:

> Greetings to all:
>
> The program we are writing currently makes use of CLK_TCK (the number of 
> processor clocks per second) 
> from ctime. This we believed was fairly safe; it is ANSI afterall.

It's neither ISO C, nor POSIX (the latter has sysconf(_SC_CLK_TCK)).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]