Answered quick and dirty CPU usage counter

  • Monday, August 06, 2012 4:31 AM
     
     
    I'd like to track how much CPU power (ie. cycles) my (multi-threaded) program is consuming over some period of time. I know this information is available without too much overhead because the windows task manager displays it (in the form of a percentage), so how can I get access to that information? I'm not interested in profiling, because I want the compiled release build to display this information.

All Replies