This is a static copy of a profile report

Home

imresize>fixupScale (82820 calls, 2.103 sec)
Generated 05-Nov-2014 07:53:35 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/imresize.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
imresize>fixupSizeAndScalesubfunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
668
if ~isempty(scale_in) &&am...
828200.371 s17.6%
670
else
828200.300 s14.3%
672
end
828200.290 s13.8%
671
scale = scale_in;
828200.260 s12.4%
All other lines  0.881 s41.9%
Totals  2.103 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function8
Non-code lines (comments, blank lines)3
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
Coverage (did run/can run)80.00 %
Function listing
   time   calls  line
665 function scale = fixupScale(scale_in)
666 % If the input is a scalar, turn it into a two-element vector.
667
0.37 82820 668 if ~isempty(scale_in) && isscalar(scale_in)
669 scale = [scale_in scale_in];
0.30 82820 670 else
0.26 82820 671 scale = scale_in;
0.29 82820 672 end

Other subfunctions in this file are not included in this listing.