This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
makeresampler>MakeSeparablesubfunction1721
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
404
r.resamp_fcn = resamp_fcn;
17210.050 s35.7%
403
r.padmethod  = padmethod;
17210.030 s21.4%
405
r.rdata      = rdata;
17210 s0%
402
r.ndims      = n_dimensions;
17210 s0%
All other lines  0.060 s42.9%
Totals  0.140 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function11
Non-code lines (comments, blank lines)7
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run0
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.