return value of Clock function
I have a quesion regarding the clock() function. Actually i've read the man page, but still dont understand the return value of this function.
If the function return 10000, is it the number of clock ticks ?
It is the number of clock cycles your program has used since it was started. You can convert it to a number of seconds by dividing by CLOCKS_PER_SEC.
|All times are GMT -5. The time now is 07:27 PM.|