[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unportable CLK_TCK
From: |
Ben Pfaff |
Subject: |
Re: Unportable CLK_TCK |
Date: |
Tue, 27 Jan 2004 11:13:59 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
"Xavier Clarke " <address@hidden> writes:
> 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. The
> configuration and make work fine under
> Cywin, but Redhat Linux chokes during the make, saying CLK_TCK is undefined.
> We need either a portable
> alternative, which we have been unable to turn up, or an autoconf macro to
> define/include it. Does anyone
> pocess such a macro.
The standard macro is CLOCKS_PER_SEC, not CLK_TCK.
--
"You know, they probably have special dorms for people like us."
--American Pie