The demo application we profile is written in C++ and uses the OpenCV library for image manipulation. Because of this, the course will be easier for follow along if your familiar with basic programming concepts. Also, the IDE we use is Visual Studio 2015 so it greatly helps if you have made Win32 Console Application projects with Visual Studio before. Being familiar with Visual Studio project properties will also greatly help if your following along inside your own application.
- [Instructor] It will make the learning curve easier, if you are familiar with some basic programming concepts. Since the application we'll be performing memory leak analysis on is written in C++ and uses OpenCV, it will help if you're familiar with for loops, if else statements, data types like integers and doubles, and what a function is and pointers. The Integrated Development Environment, usually just called IDE, we'll be using is called Visual Studio. So it will help if you are familiar with making Visual Studio projects. And, to follow along, you'll want to make your own Win32 console application in Visual Studio 2015, which you can grab from MSDN.com.
The last note is it's always a good practice to analyze the trace in the Windows performance analyzer on the same machine that you collected it on, which is what we'll be doing here.
- Setting up the application
- Looking at the source code
- Gathering memory leak evidence
- Optimizing the application