intel vtune
DESCRIPTION
Intel VTune. Yukai Hong Department of Mathematics National Taiwan University July 24, 2008. Installation of Intel VTune. Step 1. Intel VTune. Yukai Hong. 2/34. Installation of Intel VTune. Step 2. Intel VTune. Yukai Hong. 3/34. Installation of Intel VTune. Step 3. Intel VTune. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/1.jpg)
Intel VTune
Yukai Hong
Department of MathematicsNational Taiwan University
July 24, 2008
![Page 2: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/2.jpg)
Installation of Intel VTune
Step 1
2/34Intel VTune Yukai Hong
![Page 3: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/3.jpg)
Step 2
3/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 4: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/4.jpg)
Step 3
4/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 5: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/5.jpg)
Step 4
Get the serial number from Intel website with free registration.
5/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 6: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/6.jpg)
Step 5
6/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 7: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/7.jpg)
Step 6
Enforcing installing since the Linux version does not support.
7/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 8: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/8.jpg)
Step 7
Read the documentations.
8/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 9: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/9.jpg)
Step 8
9/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 10: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/10.jpg)
Step 9
10/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 11: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/11.jpg)
Step 10
11/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 12: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/12.jpg)
Step 11
12/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 13: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/13.jpg)
Step 12
13/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 14: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/14.jpg)
Step 13
Change the authority of global folders for all user.
14/34
Installation of Intel VTune
Intel VTune Yukai Hong
![Page 15: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/15.jpg)
Starting of Intel VTune
vtl: text modevtlec: graphic mode
15/34Intel VTune Yukai Hong
![Page 16: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/16.jpg)
Usage of Intel VTune
Set the personal workspace.
16/34Intel VTune Yukai Hong
![Page 17: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/17.jpg)
Usage of Intel VTune
17/34Intel VTune Yukai Hong
![Page 18: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/18.jpg)
Usage of Intel VTune
Select Call Graph option to analyze program with analytic graph.
18/34Intel VTune Yukai Hong
![Page 19: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/19.jpg)
Usage of Intel VTune
Select Linux executable option to analyze compiled file.
19/34Intel VTune Yukai Hong
![Page 20: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/20.jpg)
Usage of Intel VTune
Select compiled or executable file to launch and analyze.
20/34Intel VTune Yukai Hong
![Page 21: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/21.jpg)
Usage of Intel VTune
After launching, double click Call Graph Results.
21/34Intel VTune Yukai Hong
![Page 22: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/22.jpg)
Usage of Intel VTune
The red part appears.
If you launch more than one file, it has more than one label.
22/34Intel VTune Yukai Hong
![Page 23: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/23.jpg)
Usage of Intel VTune
The red part shows the all the details for each function.
23/34Intel VTune Yukai Hong
![Page 24: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/24.jpg)
Usage of Intel VTune
The red part shows the called (tree) graph of all functions.
24/34Intel VTune Yukai Hong
![Page 25: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/25.jpg)
Usage of Intel VTune
The red part shows the information on launching the file.
25/34Intel VTune Yukai Hong
![Page 26: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/26.jpg)
Usage of Intel VTune
Your launch file name and others are standard library.
26/34Intel VTune Yukai Hong
![Page 27: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/27.jpg)
Usage of Intel VTune
You can see all detailed information for each function.
27/34Intel VTune Yukai Hong
![Page 28: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/28.jpg)
Usage of Intel VTune
Include details
(1) calls
(2) average self time per call
(3) self time
(4) total time
(5) self wait time
(6) total wait time
(7) class
(8) module path
(9) full name
28/34Intel VTune Yukai Hong
![Page 29: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/29.jpg)
Usage of Intel VTune
Include details
(10) source file
(11) % in function
(12) average total time per call
(13) callers
(14) callees
(15) address
29/34Intel VTune Yukai Hong
![Page 30: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/30.jpg)
Usage of Intel VTune
Select one of functions for more detailed information.
30/34Intel VTune Yukai Hong
![Page 31: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/31.jpg)
Usage of Intel VTune
(1) The first part shows which function call it.
In this case, it means function A calls function B1.
(2) The second part shows which function are called by it.
In this case, it means function B1 calls C1, C2 and C3.
31/34Intel VTune Yukai Hong
![Page 32: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/32.jpg)
Usage of Intel VTune
Click each element on graph can show more detailed information.
32/34Intel VTune Yukai Hong
![Page 33: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/33.jpg)
Usage of Intel VTune
Highlight option can show only special terms on graph.
33/34Intel VTune Yukai Hong
![Page 34: Intel VTune](https://reader036.vdocuments.mx/reader036/viewer/2022062801/5681435f550346895dafdc79/html5/thumbnails/34.jpg)
Thanks
34/34Intel VTune Yukai Hong