VTuneDemo application demonstrates VTune ability to find bottleneck using all available in VTune profiling methods.
The application contains 4 routines:
test_if - simple matrix operations that use global variable
test_if1 - the same as test_if, but use of local variable instead of global
test_memset - demonstrates, that manually written memset has performance problems, so it better to use memset from "C" runtime library
divd_rout - floating point division - bottleneck of the application
Those routines are run hundreds of times with independent time measurement. Timing results are displayed in the output window.