This is a static copy of a profile report

Home

arrayBitor (14 calls, 0.798 sec)
Generated 05-Aug-2011 13:03:46 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/flag/arrayBitor.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
convertDataFlagsToFlagSize>convSubFuncsubfunction6
updateFlagsfunction8
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
14
vec = bitor(vec, data(:,m));
320.787 s98.6%
12
vec = data(:,1);
140.011 s1.4%
17
return;
140 s0%
15
end
320 s0%
13
for m=2:size(data,2)
140 s0%
All other lines  0 s0%
Totals  0.798 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
1Extra semicolon is unnecessary.
Coverage results
[ Show coverage for parent directory ]
Total lines in function17
Non-code lines (comments, blank lines)12
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
1 function vec = arrayBitor(data);
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function vec = arrayBitor(data);
6 %
7 %
8 % function that does a bitor of the colums in data
9 %
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
0.01 14 12 vec = data(:,1);
14 13 for m=2:size(data,2)
0.79 32 14 vec = bitor(vec, data(:,m));
32 15 end
16
14 17 return;