To open the call graph function view, type: vtl view <ActivityName::ActivityResultName> -functions.
Example:
>vtl view a1::r2 -functions
where a1 - Activity name, r2 - Activity result name.
The VTuneTM Performance Analyzer displays all functions in your application:
Column Heading |
Description |
|
Name |
Name of the function. |
|
Module |
Module or the Java* package to which the function belongs. |
|
Class |
Class to which the caller function belongs. |
|
Self time |
Time (microseconds) spent inside a function, including time spent waiting between execution activities. It does not include time spent in calls to other instrumented functions. |
|
Total Time |
Time (microseconds) elapsed between the time a function starts execution until the time it terminates execution. This is the sum of this function's Self time and all its callees Total time. |
|
Wait Time |
Time (microseconds) spent inside a function, while its thread was suspended. |
|
Total Wait Time |
Time (microseconds) spent in a function and its children while its thread was suspended. |
|
# Calls |
The number of times this function was called. |
|
# Callers |
The number of parent functions that called this function. |
|
# Callees |
The number of child functions that this function called. |
|
Address |
Relative Virtual Address (RVA) of the function. Relative location in memory to the base address of the application. |
|
Mangled Name |
Encoded C++ name of the function used by the C linkers. |
|
Display Name |
Display name of the function. |
|
Source File |
Source file of the function. |
To view function information for a particular function, type: vtl view <ActivityName::ActivityResultName> -functions -focus-func <function_name>.
Example:
>vtl view a3::r1 -functions -focus-func main
The output is:
[NAME(1)]; [MODULE(2)]; [THREAD(3)]; [CLASS(4)]; [SELF_TIME(5)]; [TOTAL_TIME(6)];
[WAIT_TIME(7)]; [TOTAL_WAIT_TIME(8)]; [#_CALLS(9)]; [#_CALLERS(10)];
[#_CALLEES(11)]; [ADDRESS(12)]; [MANGLED_NAME(13)]; [DISPLAY_NAME(14)];
[PROCESS(15)]; [SOURCE_FILE(16)]
main; /home/gzip; Thread_1245; ; 124; 3231090; 0; 0; 1; 1; 9; 0x20E0; main; main;
/home/gzip; /home/SOFT/gzip-1.3/gzip.c
For better viewing and filtering, you can redirect the function view output into .csv file and view it with any spreadsheet application or create your own script and run it on collected data to display the required information in the required format.
The VTune analyzer for Linux* can display function names only if the symbol information is available in the executable. It does not support other symbol files, such as .map and .pdb.