This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
cutObs>framecutSubsubfunction2052
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
122
r=r(ind,:);
19982.011 s96.3%
129
return
20520.022 s1.0%
118
switch(ndims(r))
20520.022 s1.0%
124
r=r(ind,:,:);
540.011 s0.5%
123
case 3
540 s0%
All other lines  0.022 s1.0%
Totals  2.088 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
116The function 'regcut' might be unused.
Coverage results
[ Show coverage for parent directory ]
Total lines in function14
Non-code lines (comments, blank lines)3
Code lines (lines that can run)11
Code lines that did run7
Code lines that did not run4
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.