sysconf(_SC_CLK_TCK) returns 100 all all machines?

  • Follow


Any idea why sysconf(_SC_CLK_TCK) always returns 100 on a 650MHz to a 
900MHz?

0
Reply Shea 2/19/2004 12:50:53 AM

On Wed, 18 Feb 2004, Shea Martin wrote:

> Any idea why sysconf(_SC_CLK_TCK) always returns 100 on a 650MHz to a
> 900MHz?

Because _SC_CLK_TCK returns the number of clock ticks per second.
"Clock" in this case not being the CPU's crystal, but clock interrupt
that gets fired every few milliseconds.

-- 
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
0
Reply Rich 2/19/2004 1:25:07 AM


1 Replies
1355 Views

(page loaded in 0.058 seconds)

Similiar Articles:




7/22/2012 1:42:19 AM


Reply: