This is a static copy of a profile reportHome
imresize>warnIfPostMethodArgs (82820 calls, 3.325 sec)
Generated 05-Nov-2014 07:53:32 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 |
482 | if (first_param_string_idx - m... | 82820 | 0.841 s | 25.3% |  |
474 | if isempty(method_arg_idx) | 82820 | 0.571 s | 17.2% |  |
479 | first_param_string_idx = numel... | 82820 | 0.431 s | 13.0% |  |
480 | end | 82820 | 0.250 s | 7.5% |  |
478 | if isempty(first_param_string_... | 82820 | 0.230 s | 6.9% |  |
All other lines | | | 1.001 s | 30.1% |  |
Totals | | | 3.325 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 17 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 9 |
Code lines that did run | 5 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 55.56 % |
Function listing
time calls line
468 function warnIfPostMethodArgs(args, method_arg_idx, first_param_string_idx)
469 % If there are arguments between the method argument and the first
470 % parameter string, these must be old-style antialiasing syntaxes that
471 % are no longer supported. Issue a warning message. Note that
472 % either method_arg_idx and first_param_string_idx may be empty.
473
0.57 82820 474 if isempty(method_arg_idx)
475 method_arg_idx = numel(args) + 1;
476 end
477
0.23 82820 478 if isempty(first_param_string_idx)
0.43 82820 479 first_param_string_idx = numel(args) + 1;
0.25 82820 480 end
481
0.84 82820 482 if (first_param_string_idx - method_arg_idx) > 1
483 warning(message('images:imresize:oldSyntaxesIgnored', 'N and H are now ignored in the old syntaxes IMRESIZE(...,method,N) and IMRESIZE(...,method,H).', 'Use IMRESIZE_OLD if you need the previous behavior.'));
484 end
Other subfunctions in this file are not included in this listing.