This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
397 | is_class = cellfun('isclass', ... | 82820 | 2.073 s | 44.0% |  |
398 | first_param_string_idx = find(... | 82820 | 1.142 s | 24.3% |  |
393 | if isempty(method_arg_idx) | 82820 | 0.461 s | 9.8% |  |
All other lines | | | 1.031 s | 21.9% |  |
Totals | | | 4.707 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 10 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 5 |
Code lines that did run | 3 |
Code lines that did not run | 2 |
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.