This is a static copy of a profile report

Home

framecut>determineInd (9 calls, 0.044 sec)
Generated 05-Aug-2011 13:00:35 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/framecut.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
framecutfunction9
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
139
indServ = mean(indServ)~=0;
50.011 s25.0%
135
indReg  = mean(indReg)~=0;
50.011 s25.0%
116
indRx   = repmat(indReg, [1 10...
40.011 s25.0%
112
indServ = repmat(indReg, [1 5]...
40.011 s25.0%
144
return;
90 s0%
All other lines  0 s0%
Totals  0.044 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
repmatfunction80.022 s50.0%
meanfunction100.011 s25.0%
Self time (built-ins, overhead, etc.)  0.011 s25.0%
Totals  0.044 s100% 
Code Analyzer results
Line numberMessage
106Input argument 'd' might be unused, although a later one is used. Consider replacing it by ~.
Coverage results
[ Show coverage for parent directory ]
Total lines in function39
Non-code lines (comments, blank lines)12
Code lines (lines that can run)27
Code lines that did run20
Code lines that did not run7
Coverage (did run/can run)74.07 %
Function listing
   time   calls  line
106 function [indReg, indServ, indRx] = determineInd(d, ind, field)
107
9 108 switch(field)
9 109 case 'regular'
4 110 indReg = ind;
111
0.01 4 112 indServ = repmat(indReg, [1 5]);
4 113 indServ = indServ';
4 114 indServ = indServ(:);
115
0.01 4 116 indRx = repmat(indReg, [1 100]);
4 117 indRx = indRx';
4 118 indRx = indRx(:);
119
5 120 case 'servo'
121 indServ = ind;
122
123 indReg = reshape(indServ, [5 length(indServ)/5]);
124 indReg = mean(indReg)~=0;
125 indReg = indReg';
126
127 indRx = repmat(indServ, [1 20]);
128 indRx = indRx';
129 indRx = indRx(:);
130
5 131 case 'receiver'
5 132 indRx = ind;
133
5 134 indReg = reshape(indRx, [100 length(indRx)/100]);
0.01 5 135 indReg = mean(indReg)~=0;
5 136 indReg = indReg';
137
5 138 indServ = reshape(indRx, [20 length(indRx)/20]);
0.01 5 139 indServ = mean(indServ)~=0;
5 140 indServ = indServ';
141
5 142 end
143
9 144 return;

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