Routines Category

Applies to AQTime 8.81, last modified on January 18, 2022

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 Sample_Interval×Sample Count. For information on how the profiler counts samples for functions, see the profiler description. As for Sample_Interval, it is calculated as Application_execution_time / Total_samples_in_the_main_thread. The Sampling profiler includes the Samples per second option that specifies the number of samples the profiler should try to collect every second. However, for various reasons, in real-life applications the number of collected samples differs from the option value. So, the profiler has to determine the interval between samples in the way described above.

See Also

Sampling Profiler - Report Panel
About the Report Panel
Results of the Routines Category

Highlight search results