In order to get the most out of this course, you should be familiar with basic programming concepts like what a function is, loops, data variables, etc. You should be familiar with C++, the heap, the stack and what a memory allocation is in general. These topics are discussed in the course but it will make the learning curve easier if you do some research of your own on these topics.
- [Narrator] This course requires an intermediate level of computer programming experience. We are going to profile an open computer vision, also known as OpenCV, bitmap image blending application written in C++, which uses third party OpenCV libraries. We focus on how the application is cycling through multiple images, until it unexpectedly crashes, due to a memory leak. So, basic computer programming concepts are required. In short, you should have previous experience with the following: Basic programming skills, that can be found in Peggy Fisher's course, and Visual Studio IDE experience, that can be found in Walt Ritscher's course.
The demo application that we will profile has a memory leak; which can be defined as an application that tries to allocate memory that is no longer available due to poor memory management by the application itself. We will use the Intel inspector to quickly find the root cause by identifying the culprit code lines that need to be examined and fixed. What you need is a machine running an Intel core processor, 2nd generation or later, in order to run Intel Inspector 2017. Since we profile a demo application on a Windows platform, using Visual Studio 2015: you should have a Windows OS, 7 or higher, with Visual Studio 2015 installed.
The free Community Edition is fine. We also need OpenCV for the application to work, but we cover this setup later, in the course.
- Installing Intel Inspector XE
- Setting up OpenCV
- Detecting memory leaks
- Visualizing memory usage growth
- Conducting memory leak analysis
- Fixing memory leaks in source code