Overview

Discover how to use the Basic Hotspots, Concurrency, and Locks and Waits analysis types of the Intel® VTune™ Amplifier to identify hotspots - the most time-consuming program units, understand how effectively your code is using available cores, and discover causes of ineffective utilization.

About This Tutorial

This tutorial uses the sample nqueens_parallel application and guides you through basic workflow steps required to analyze the code for hotspots, parallelism, and locks.

Estimated Duration

10-15 minutes.

Learning Objectives

After you complete this tutorial, you should be able to:

  • Choose an analysis target.

  • Choose an analysis type.

  • Run the Basic Hotspots analysis to locate most time-consuming functions in an application.

  • Analyze the function call flow and threads.

  • Analyze the source code to locate the most time-critical code lines.

  • Run the Concurrency analysis to identify function candidates for parallelization.

  • Run the Locks and Waits analysis to identify synchronization objects where spent much CPU time waiting.

  • Compare results before and after optimization.

More Resources

Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.