Reading CPU usage

Community Forums/General Help/Reading CPU usage

Playniax(Posted 2012) [#1]
Hi, does anyone know a way to read the actual CPU usage (percentage) in real time on Windows WITHOUT using an external tool. I am doing that now but it is slow. Thanks!


dawlane(Posted 2012) [#2]
Could be of use to you.
http://www.philosophicalgeek.com/2009/01/03/determine-cpu-usage-of-current-process-c-and-c/
http://www.codeproject.com/Articles/9113/Get-CPU-Usage-with-GetSystemTimes
http://nadeausoftware.com/articles/2012/03/c_c_tip_how_measure_cpu_time_benchmarking