When the Routines category is selected in the Explorer panel, the Report panel shows profiling results for individual routines. It displays the following values for each routine:
Columns (in alphabetical order) | Description |
---|---|
% of Total Samples | The percentage of samples collected for the routine against the total number of all the collected samples. If you are viewing results for an individual thread, this is the total number of samples collected for that thread. If you are viewing results for all the threads, this is the total number of samples collected for all the threads. You can find these total numbers in the Summary panel.
Note that the sum of these values can be less than 100%. This happens because some samples are collected for the code that is not in the profiled modules (for example, some samples are collected for system code that is executed before and after your code in each thread). |
% Samples (Profiled Code) | The percentage of samples collected for the routine against the number of samples collected for the code that was included in profiling in the Setup panel. You can see the number of samples that were collected for all profiled functions in the footer of the Sample Count column.
Note: the number of samples collected for profiled code typically differs from the total number of samples collected for the profiled application which you can see in the Summary panel. The reason for this is that some samples are collected for code that was excluded from profiling in the Setup panel. |
File Name | The name of the source file containing the routine’s source code. |
Module Name | The name of the module containing the routine. |
Routine Name | The name of the routine. |
Sample Count | The number of samples collected for the function during profiling.
For information on how the profiler counts samples for functions, see the profiler description. |
Source Line | The line number in the source file where the function’s code begins. |
Time | An approximate time of the routine execution. According to the Counter unit option, this value can be measured in seconds, milliseconds or microseconds.
Time is calculated as |
See Also
Sampling Profiler - Report Panel
About the Report Panel
Results of the Routines Category