This is a static copy of a profile reportHome
makeresampler>MakeSeparable (1721 calls, 1.933 sec)
Generated 05-Nov-2014 07:53:13 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 |
253 | rdata.K = StandardKernel(inter... | 1721 | 0.951 s | 49.2% |  |
256 | padmethod = GetCanonicalString... | 1721 | 0.721 s | 37.3% |  |
259 | r = AssignResampler(n_dimensio... | 1721 | 0.170 s | 8.8% |  |
243 | if isa(interpolant,'cell') | 1721 | 0.060 s | 3.1% |  |
254 | end | 1721 | 0 s | 0% |  |
All other lines | | | 0.030 s | 1.6% |  |
Totals | | | 1.933 s | 100% | |
Children (called functions)
Code Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 22 |
Non-code lines (comments, blank lines) | 6 |
Code lines (lines that can run) | 16 |
Code lines that did run | 8 |
Code lines that did not run | 8 |
Coverage (did run/can run) | 50.00 % |
Function listing
time calls line
238 function r = MakeSeparable( interpolant, padmethod )
239
1721 240 standardFrequency = 1000; % Standard number of samples per unit
1721 241 n_dimensions = inf;
242
0.06 1721 243 if isa(interpolant,'cell')
244 if HasCustomTable(interpolant)
245 rdata.K = interpolant;
246 elseif HasCustomFunction(interpolant)
247 rdata.K = CustomKernel(interpolant, standardFrequency);
248 else
249 n_dimensions = length(interpolant);
250 rdata.K = MultipleKernels(interpolant, standardFrequency);
251 end
1721 252 else
0.95 1721 253 rdata.K = StandardKernel(interpolant, standardFrequency);
1721 254 end
255
0.72 1721 256 padmethod = GetCanonicalString( padmethod, 'PadMethod', ...
257 {'fill','bound','replicate','circular','symmetric'});
258
0.17 1721 259 r = AssignResampler(n_dimensions, padmethod, @resampsep, rdata);
Other subfunctions in this file are not included in this listing.