This is a static copy of a profile reportHome
cutObs>regcut (2052 calls, 2.088 sec)
Generated 05-Aug-2011 13:03:46 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/cutObs.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 |
122 | r=r(ind,:); | 1998 | 2.011 s | 96.3% |  |
129 | return | 2052 | 0.022 s | 1.0% |  |
118 | switch(ndims(r)) | 2052 | 0.022 s | 1.0% |  |
124 | r=r(ind,:,:); | 54 | 0.011 s | 0.5% |  |
123 | case 3 | 54 | 0 s | 0% |  |
All other lines | | | 0.022 s | 1.0% |  |
Totals | | | 2.088 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Line number | Message |
116 | The function 'regcut' might be unused. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 11 |
Code lines that did run | 7 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 63.64 % |
Function listing
time calls line
116 function r=regcut(r,ind)
117
0.02 2052 118 switch(ndims(r))
2052 119 case 1
120 r=r(ind);
2052 121 case 2
2.01 1998 122 r=r(ind,:);
54 123 case 3
0.01 54 124 r=r(ind,:,:);
125 case 4
126 r=r(ind,:,:,:);
127 end
128
0.02 2052 129 return
Other subfunctions in this file are not included in this listing.