In this course wrap up, even though we have identified problems with the application critical section locking mechanism, the VTune Amplifier provides other views to analyze the results. We briefly go over the other tabs such as the Caller/Callee tab and the Tasks and Frames tabs. Although we did not focus on these tabs extensively in this course, they are still useful in obtaining the big picture of how your application works.
- [Narrator] Even though we have identified…problems with the applications…critical section locking mechanism.…The V-Tune amplifier provides…other view to analyze the results.…Let's briefly go over the other tabs…such as the caller/callee tab and the platform tab.…Although we did not focus on these tabs…extensively in this course, they are…still useful in obtaining the bigger…picture of how your application works.…This window shows us the most time critical…call paths we can see, this window shows…us the most time critical call paths.…
And we can see that out of all the functions…that pthread mutex lock function has a red bar…under the wait time by self by thread concurrency column.…The self wait time is active processor…time spent in a function so the processor…was actively spending 357 seconds inside…this function trying to acquire the lock.…To know what function called pthread mutex lock…we can look to the right and see two sub windows.…Selecting the edge and dragging…it shows caller and callee windows.…
If we expand the pthread mutex lock in the top window…
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