This is a static copy of a profile report

Home

makeresampler>LinearKernel (1721 calls, 0.110 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
makeresampler>SampleKernelsubfunction1721
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
369
x(x < 0) = -x(x < 0);
17210.030 s27.3%
370
q = (x <= 1);
17210.020 s18.2%
368
reshape(y,size(x));
17210.020 s18.2%
371
y(q) = 1 - x(q);
17210.010 s9.1%
367
y = zeros(1,length(x));
17210.010 s9.1%
All other lines  0.020 s18.2%
Totals  0.110 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function7
Non-code lines (comments, blank lines)2
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
365 function y = LinearKernel( x )
366
0.01 1721 367 y = zeros(1,length(x));
0.02 1721 368 reshape(y,size(x));
0.03 1721 369 x(x < 0) = -x(x < 0);
0.02 1721 370 q = (x <= 1);
0.01 1721 371 y(q) = 1 - x(q);

Other subfunctions in this file are not included in this listing.