The C++ profiler samples and analyzes the running code, and presents you with a series of diagrams and images about how the code is performed.
You can find more information about the performance profiler by going to https://docs.microsoft.com/en-us/visualstudio/profiling/?view=vs-2017.