This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
369 | x(x < 0) = -x(x < 0); | 1721 | 0.030 s | 27.3% |  |
370 | q = (x <= 1); | 1721 | 0.020 s | 18.2% |  |
368 | reshape(y,size(x)); | 1721 | 0.020 s | 18.2% |  |
371 | y(q) = 1 - x(q); | 1721 | 0.010 s | 9.1% |  |
367 | y = zeros(1,length(x)); | 1721 | 0.010 s | 9.1% |  |
All other lines | | | 0.020 s | 18.2% |  |
Totals | | | 0.110 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 7 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 5 |
Code lines that did run | 5 |
Code lines that did not run | 0 |
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.