From the course: Visual Studio: Advanced Debugging Tools
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Analyze CPU usage with Profiler - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
Analyze CPU usage with Profiler
- [Instructor] I'm working in the same project and solution as in the last demo. What I did in that last demo is I used the diagnostic tools to analyze what's happening in the CPU while I was debugging. And one of the things I didn't notice while I was recording that video is that I was in the Release Build. I should have been in the Debug Build. That didn't really make any difference for the demo, but it's important for the one I'm showing you in this video, because I'm using a tool that wants to work with the Release Build. So I'll switch over to the Release Build, and then I will open up the Performance Profiler. And what we see here is a new tab opens called diagsession, and I've got several choices of what to analyze. But what we're going to analyze is the startup project in this solution, which is this DebugWpf project. So what'll happen when I click on the start button is Visual Studio will run the executable for…
Contents
-
-
-
-
-
Configure the CPU monitor1m 12s
-
(Locked)
Analyze CPU usage with Diagnostics tools2m 55s
-
(Locked)
Analyze CPU usage with Profiler2m 58s
-
View CPU usage by function3m 27s
-
(Locked)
Configure memory monitor51s
-
(Locked)
Analyze memory usage with Diagnostics tools2m 3s
-
(Locked)
Analyze memory usage with Profiler1m 8s
-
(Locked)
View memory details1m 59s
-
-
-
-
-