Re: Unportable CLK_TCK

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

 



"Xavier Clarke " <xavier-clarke@xxxxxxxxxxx> 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, schwab@xxxxxxx
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."



[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux