none
CPU usage RRS feed

  • Question

  • Is there a way to measure average CPU usage programmatically for the time a program is being executed?
    ajaind
    Tuesday, June 2, 2009 6:01 AM

Answers

  • Consider GetProcessTimes function. The sum of returned kernel and user time is the amount of time used by CPU.

    Tuesday, June 2, 2009 6:33 AM

All replies