400 likes | 648 Views
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.
E N D
Intel VTune YukaiHongDepartment of MathematicsNational Taiwan UniversityJuly 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 Yukai Hong 4/34
Installation of Intel VTune • Step 4 Get the serial number from Intel website with free registration. Intel VTune Yukai Hong 5/34
Installation of Intel VTune • Step 5 Intel VTune Yukai Hong 6/34
Installation of Intel VTune • Step 6 Enforcing installing since the Linux version does not support. Intel VTune Yukai Hong 7/34
Installation of Intel VTune • Step 7 Read the documentations. Intel VTune Yukai Hong 8/34
Installation of Intel VTune • Step 8 Intel VTune Yukai Hong 9/34
Installation of Intel VTune • Step 9 Intel VTune Yukai Hong 10/34
Installation of Intel VTune • Step 10 Intel VTune Yukai Hong 11/34
Installation of Intel VTune • Step 11 Intel VTune Yukai Hong 12/34
Installation of Intel VTune • Step 12 Intel VTune Yukai Hong 13/34
Installation of Intel VTune • Step 13 Change the authority of global folders for all user. Intel VTune Yukai Hong 14/34
Starting of Intel VTune vtl: text mode vtlec: graphic mode Intel VTune Yukai Hong 15/34
Usage of Intel VTune Set the personal workspace. Intel VTune Yukai Hong 16/34
Usage of Intel VTune Intel VTune Yukai Hong 17/34
Usage of Intel VTune Select Call Graph option to analyze program with analytic graph. Intel VTune Yukai Hong 18/34
Usage of Intel VTune Select Linux executable option to analyze compiled file. Intel VTune Yukai Hong 19/34
Usage of Intel VTune Select compiled or executable file to launch and analyze. Intel VTune Yukai Hong 20/34
Usage of Intel VTune After launching, double click Call Graph Results. Intel VTune Yukai Hong 21/34
Usage of Intel VTune The red part appears. If you launch more than one file, it has more than one label. Intel VTune Yukai Hong 22/34
Usage of Intel VTune The red part shows the all the details for each function. Intel VTune Yukai Hong 23/34
Usage of Intel VTune The red part shows the called (tree) graph of all functions. Intel VTune Yukai Hong 24/34
Usage of Intel VTune The red part shows the information on launching the file. Intel VTune Yukai Hong 25/34
Usage of Intel VTune Your launch file name and others are standard library. Intel VTune Yukai Hong 26/34
Usage of Intel VTune You can see all detailed information for each function. Intel VTune Yukai Hong 27/34
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 Intel VTune Yukai Hong 28/34
Usage of Intel VTune Include details (10) source file (11) % in function (12) average total time per call (13) callers (14) callees (15) address Intel VTune Yukai Hong 29/34
Usage of Intel VTune Select one of functions for more detailed information. Intel VTune Yukai Hong 30/34
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. Intel VTune Yukai Hong 31/34
Usage of Intel VTune Click each element on graph can show more detailed information. Intel VTune Yukai Hong 32/34
Usage of Intel VTune Highlight option can show only special terms on graph. Intel VTune Yukai Hong 33/34
Thanks Intel VTune Yukai Hong 34/34