This is a static copy of a profile reportHome
imresize>dimensionOrder (82820 calls, 1.933 sec)
Generated 05-Nov-2014 07:53:45 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 Name | Function Type | Calls |
imresize | function | 82820 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
625 | [junk, order] = sort(scale); | 82820 | 1.021 s | 52.8% |  |
All other lines | | | 0.911 s | 47.2% |  |
Totals | | | 1.933 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
625 | The value assigned here to 'junk' appears to be unused. Consider replacing it by ~. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 6 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 1 |
Code lines that did run | 1 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
620 function order = dimensionOrder(scale)
621 % Return the desired dimension order for performing the resize. The
622 % strategy is to perform the resize first along the dimension with the
623 % smallest scale factor.
624
1.02 82820 625 [junk, order] = sort(scale);
Other subfunctions in this file are not included in this listing.