With the project properties all setup and configured. We move onto selecting the Locks and Waits Analysis. There are more analysis options but we only focus on the options for the Locks and Waits since that is the focus of this course. We discuss what exactly this analysis does and what each check box option means.
- [Narrator] Let's reanalyze the application to…see if the changes we made have any performance benefits.…To do this let's right click on the analyze locks…visual studios project and let's scroll…down to the Intel V-Tune amplifier and select new analysis.…The project properties will come up…and let's make sure we have locks and weights selected.…We're going to leave everything as…the default and then let's click start.…V-Tune will launch the application.…And visually we can see an immediate…change in the execution time, it is much faster.…
Once the results are finalized,…we are brought to the summary page…where we can already see a shorter elapsed time,…a shorter spin time and a shorter CPU time.…Another key difference is if we go to…the top waiting objects section,…critical section is no longer at the top.…The weight count is much less and…the weight time is much less.…Scrolling down to the thread concurrency histogram,…it looks like there's not that many changes.…But this is a 40 course system,…so if you look really closely, there's…
By the end of this course you will know how to use the Locks and Waits analysis on your own application and improve the efficiency of parallel task execution on Windows.
- Installing VTune Amplifier
- Choosing options for the Locks and Waits analysis
- Working with the VTune Amplifier GUI
- Viewing the analysis summary
- Removing the lock
- Conducting lock-removed analysis
- Comparing results