Search code examples
visual-studiovisual-c++-2012

Measure CPU usage - Visual C++


Does someone know how to measure the total CPU usage using Visual C++? I'm also needing a way to measure the memory usage.

Update I just need something like this:

enter image description here

Please Help!

Thanks


Solution

  • I've found a solution using the Visual c++ performanceCounter Control.

    Thanks!