This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
makeresamplerfunction1721
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
253
rdata.K = StandardKernel(inter...
17210.951 s49.2%
256
padmethod = GetCanonicalString...
17210.721 s37.3%
259
r = AssignResampler(n_dimensio...
17210.170 s8.8%
243
if isa(interpolant,'cell')
17210.060 s3.1%
254
end
17210 s0%
All other lines  0.030 s1.6%
Totals  1.933 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
makeresampler>StandardKernelsubfunction17210.911 s47.2%
makeresampler>GetCanonicalStringsubfunction17210.701 s36.3%
makeresampler>AssignResamplersubfunction17210.140 s7.3%
Self time (built-ins, overhead, etc.)  0.180 s9.3%
Totals  1.933 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function22
Non-code lines (comments, blank lines)6
Code lines (lines that can run)16
Code lines that did run8
Code lines that did not run8
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.