mithriltabby: Serene silver tabby (Zort)
[personal profile] mithriltabby
There’s a system call on UNIX, clock(), that tells you how much CPU time your process has been using. This is different from total elapsed time because the computer is doing many things at once, and clock() just tells you how much time this particular process used.

Microsoft is in the habit of providing equivalents of UNIX system calls for its C developers, often with slight annoying differences in the name (like tacking on a leading underscore). This is something that I can cope with. But I really hate it when MSDN’s page on “Time Management” in the Run-Time Library Reference lists clock() under “Return elapsed CPU time for process”, then the actual page for clock() says “calculates the wall-clock time used by the calling process” and turns out to be using GetSystemTimeAsFileTime() under the covers. That’s just plain incompetent.

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

October 2024

S M T W T F S
  12345
6789 101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

  • Style: Midnight for Heads Up by momijizuakmori

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 01:55 am
Powered by Dreamwidth Studios