This is a static copy of a profile reportHome
makeresampler>AssignResampler (1721 calls, 0.140 sec)
Generated 05-Nov-2014 07:53:14 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/makeresampler.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 |
404 | r.resamp_fcn = resamp_fcn; | 1721 | 0.050 s | 35.7% |  |
403 | r.padmethod = padmethod; | 1721 | 0.030 s | 21.4% |  |
405 | r.rdata = rdata; | 1721 | 0 s | 0% |  |
402 | r.ndims = n_dimensions; | 1721 | 0 s | 0% |  |
All other lines | | | 0.060 s | 42.9% |  |
Totals | | | 0.140 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 7 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
395 function r = AssignResampler(n_dimensions, padmethod, resamp_fcn, rdata)
396
397 % Use this function to ensure consistency in the way we assign
398 % the fields of each resampling struct. Note that r.ndims = Inf
399 % is used to denote that the resampler supports an arbitrary
400 % number of dimensions.
401
1721 402 r.ndims = n_dimensions;
0.03 1721 403 r.padmethod = padmethod;
0.05 1721 404 r.resamp_fcn = resamp_fcn;
1721 405 r.rdata = rdata;
Other subfunctions in this file are not included in this listing.