This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does clock() work?


Greg Chicares wrote:
I get similar results with the same program. According to
C99 7.23.2.1/2,
"The clock function determines the processor time used."
so I'd guess that sleep() is consuming only wall-clock time.
Ah, good catch. Thank you.
Now, I am definitely interested in wall clock elapsed time. Is there anything available that will give me real time at resolution greater than one second?


-Norton



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]