This is a static copy of a profile report

Home

imresize>getMethodInfo (165640 calls, 8.332 sec)
Generated 05-Nov-2014 07:53:28 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>isMethodStringsubfunction82820
imresize>parseMethodArgsubfunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
461
kernels = {@box, @triangle, @c...
1656404.787 s57.5%
464
widths = [1.0 2.0 4.0 1.0 2.0 ...
1656400.981 s11.8%
458
names = {'nearest', 'bilinear'...
1656400.761 s9.1%
All other lines  1.802 s21.6%
Totals  8.332 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function13
Non-code lines (comments, blank lines)10
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
452 function [names,kernels,widths] = getMethodInfo
453
454 % Original implementation of getMethodInfo returned this information as
455 % a single struct array, which was somewhat more readable. Replaced
456 % with three separate arrays as a performance optimization. -SLE,
457 % 31-Oct-2006
0.76 165640 458 names = {'nearest', 'bilinear', 'bicubic', 'box', ...
459 'triangle', 'cubic', 'lanczos2', 'lanczos3'};
460
4.79 165640 461 kernels = {@box, @triangle, @cubic, @box, @triangle, @cubic, ...
462 @lanczos2, @lanczos3};
463
0.98 165640 464 widths = [1.0 2.0 4.0 1.0 2.0 4.0 4.0 6.0];

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