This is a static copy of a profile report

Home

imresize>isMethodString (82820 calls, 8.552 sec)
Generated 05-Nov-2014 07:53:26 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>findMethodArgsubfunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
444
valid_method_strings = getMeth...
828204.937 s57.7%
446
num_matches = sum(strncmpi(in,...
828201.021 s11.9%
447
tf = num_matches == 1;
828200.711 s8.3%
448
end
828200.591 s6.9%
440
if ~ischar(in)
828200.250 s2.9%
All other lines  1.041 s12.2%
Totals  8.552 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
imresize>getMethodInfosubfunction828204.096 s47.9%
Self time (built-ins, overhead, etc.)  4.456 s52.1%
Totals  8.552 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)5
Code lines (lines that can run)7
Code lines that did run6
Code lines that did not run1
Coverage (did run/can run)85.71 %
Function listing
   time   calls  line
437 function tf = isMethodString(in)
438 % Returns true if the input is the name of a method.
439
0.25 82820 440 if ~ischar(in)
441 tf = false;
442
0.17 82820 443 else
4.94 82820 444 valid_method_strings = getMethodInfo();
445
1.02 82820 446 num_matches = sum(strncmpi(in, valid_method_strings, numel(in)));
0.71 82820 447 tf = num_matches == 1;
0.59 82820 448 end

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