I am profiling an application using VTune (Update 16) and I can't understand some results.
When I inspect the result using the Top-Down view I see that a loop takes X seconds to execute, but when I double-click its line and inspect the source code I see that the sum of CPU time for the loop's line is Y, where Y is ~2X, and in fact, Y is even greater than the CPU time of the whole program... Any clue why is that? This happens not only which this program... I have attached some screen shots.
Also, how does the "Inline Mode" on bottom right of the top-down view affects the CPU time results of the source view? Furthermore.. how is the CPU Time calculated for each of these modes: Loops Only / Functions Only and / Loops and Functions is selected?
Thanks in advance!