O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring the CPU and memory usage

Applications, even for smartphones, can perform operations that intensively use resources. For this reason, it is possible that an application behaves differentially on various devices. This could lead to some problems with the operation, such as a poor user experience. With the usage of Microsoft Visual Studio Community 2015, a developer could measure CPU and memory usage in real time while running the application. In this recipe, you will learn how to use such a mechanism in your projects.

Getting ready

To complete this recipe, you need an automatically generated project.

How to do it...

To monitor the CPU and memory usage while debugging the application, you need to perform the following steps:

  1. Start debugging ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required