This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
461 | kernels = {@box, @triangle, @c... | 165640 | 4.787 s | 57.5% |  |
464 | widths = [1.0 2.0 4.0 1.0 2.0 ... | 165640 | 0.981 s | 11.8% |  |
458 | names = {'nearest', 'bilinear'... | 165640 | 0.761 s | 9.1% |  |
All other lines | | | 1.802 s | 21.6% |  |
Totals | | | 8.332 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 13 |
Non-code lines (comments, blank lines) | 10 |
Code lines (lines that can run) | 3 |
Code lines that did run | 3 |
Code lines that did not run | 0 |
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.