Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Function Timer in C
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="James Kanze, post: 2841288"] On all systems, it's CLOCKS_PER_SEC. Other than that, the only "standard" I know is Posix, which requires a value of 1000000 for CLOCKS_PER_SEC, i.e. microseconds. (Linux is also Posix conform in this respect.) Historically, the granularity was the number of ticks. This certainly isn't the case today, and I don't know of any system which really gives microsecond granularity. (Historically, on the first systems I used, CLOCKS_PER_SEC was 50 in Europe, and 60 in America. Which was the granularity.) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Function Timer in C
Top