This is a static copy of a profile report

Home

imresize>findFirstParamString (82820 calls, 4.707 sec)
Generated 05-Nov-2014 07:53:31 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>parseInputssubfunction82820
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
397
is_class = cellfun('isclass', ...
828202.073 s44.0%
398
first_param_string_idx = find(...
828201.142 s24.3%
393
if isempty(method_arg_idx)
828200.461 s9.8%
All other lines  1.031 s21.9%
Totals  4.707 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function10
Non-code lines (comments, blank lines)5
Code lines (lines that can run)5
Code lines that did run3
Code lines that did not run2
Coverage (did run/can run)60.00 %
Function listing
   time   calls  line
389 function first_param_string_idx = findFirstParamString(args, method_arg_idx)
390 % Find the index of the first parameter string. It will be the first
391 % string argument following the method argument.
392
0.46 82820 393 if isempty(method_arg_idx)
394 method_arg_idx = 0;
395 end
396
2.07 82820 397 is_class = cellfun('isclass', args(method_arg_idx+1:end), 'char');
1.14 82820 398 first_param_string_idx = find(is_class, 1) + method_arg_idx;

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