C
chandanlinster
what do the values of "clocks_ticks = sysconf(_SC_CLK_TCK);" and
"CLOCK_PER_SEC" represent?
"CLOCK_PER_SEC" represent?
chandanlinster said:what do the values of "clocks_ticks = sysconf(_SC_CLK_TCK);" and
"CLOCK_PER_SEC" represent?
I'm grateful for this explanation. In addition, it's often said thatJens said:"CLOCKS_PER_SEC" (I guess you meant that) is the time the value
returned by the function clock() must be divided by to give a
time in seconds. What the non-standard-C (but POSIX) function
sysconf() returns for "_SC_CLK_TCK" (also not a standard-C but
POSIX defined value) is the time resolution the values returned
by the times() function are in (you may already have guessed
that this is also not a standard-C but POSIX function;-).They
typicaly are the not the same. And neither of them is meant to
be confused with the clock rate of the processor(s).
What explanation? You really need to include context when you post. Mychandanlinster said:Thanks a lot for the explaination!!!
What explanation? You really need to include context when you post. My
news server has expired the original article to which you are replying.
Does anyone still have the original article along with the reply and if
so could you post it please?
Coos said:Op Tue, 13 Feb 2007 07:29:18 -0600 schreef Joe Estock:
I agree fully, but why wait more than twelve days to reach to this
conclusion ? ;-)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.