I am trying to use VTune to measure CPU time for our tests on Windows so that we can store it in a database and detect any significant increases with code changes.
Given one test, I ran it from the command line and it returns within a couple seconds. When I run a performance-snapshot analysis on the same test, it also reports an "Elapsed Time" of 1.333s. But when I run a hotspots analysis, the "Elapsed Time" jumps to 69.441s and the "CPU Time" is reported as 67.015s.
What could cause this huge difference?