This is a static copy of a profile report

Home

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 NameFunction TypeCalls
imresizefunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
625
[junk, order] = sort(scale);
828201.021 s52.8%
All other lines  0.911 s47.2%
Totals  1.933 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
625The value assigned here to 'junk' appears to be unused. Consider replacing it by ~.
Coverage results
[ Show coverage for parent directory ]
Total lines in function6
Non-code lines (comments, blank lines)5
Code lines (lines that can run)1
Code lines that did run1
Code lines that did not run0
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.