Summary
You have completed the Finding Hotspots tutorial. Here are some important things to remember when using the
Intel® VTune™
to analyze your code for hotspots and hardware issues:
Profiler
Step
| Tutorial Recap
| Key Tutorial Take-aways
|
---|---|---|
1. Find hotspots | You launched the Hotspots data collection that analyzes function calls and CPU time spent in each program unit of your application and identified the following hotspots:
|
|
2. Discover hardware usage bottlenecks | You ran the Microarchitecture Exploration analysis that monitors how your application performs against a set of event-based hardware metrics as follows:
| See the
Details section of the Microarchitecture Exploration configuration section to get the list of processor events used for this analysis type.
|
3. Resolve detected issues | You solved the memory access issue for the sample application by interchanging the loops and sped up the execution time. You also considered using the Intel C++ Compiler to enable instruction vectorization.
|
|
4. Check your work | You ran Microarchitecture Exploration analysis on the optimized code and compared the results before and after optimization using the Compare mode of the
VTune
. Compare analysis results regularly to look for regressions and to track how incremental changes to the code affect its performance.
Profiler | Perform regular regression testing by comparing analysis results before and after optimization. From GUI, click the
Compare Results button on the
VTune
toolbar. From command line, use the
Profiler vtune |
Next step:
Prepare your own application(s) for analysis. Then use the
VTune
to find and eliminate performance problems.
Profiler
Optimization Notice
|
---|
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804
|