To view the difference before and after optimization for a function and its callers, click the
sub-tab for the comparison result you created using the
In the compare mode, the
window shows the data columns of the two results and a new column showing the difference between the two results for each program unit. The difference is calculated as <Result 1 Value> - <Result 2 Value>.
Example: Comparison for Hotspots Analysis Results
window displays the data columns for each result and a
column that calculates the difference between the two results. By default, the
column is collapsed and displays the total difference data per CPU time. You may click the double-arrow icon to expand the column and see comparison data per utilization level.
CPU time specific difference is calculated as <Result 1 CPU time> - <Result 2 CPU time>, which is
(see the tab title). Expand the first two columns to see the data used for the calculation.
function in this example, the difference is 3.961s - 4.470s = -0.138s of Poor CPU utilization time, which means that serial CPU time has insignificantly increased after code modification (Result 2).