This is a static copy of a profile reportHome
arrayBitand (24 calls, 0.044 sec)
Generated 05-Aug-2011 13:03:50 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/flag/arrayBitand.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 |
12 | outvector = bitand(outvector, ... | 216 | 0.044 s | 100.0% |  |
15 | return; | 24 | 0 s | 0% |  |
13 | end | 216 | 0 s | 0% |  |
11 | for m=2:size(inVector,1) | 24 | 0 s | 0% |  |
10 | outvector = inVector(1,:); | 24 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.044 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 15 |
Non-code lines (comments, blank lines) | 10 |
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
1 function outvector = arrayBitand(inVector)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function outvector = arrayBitand(inVector)
6 %
7 % so not going to write this out.
8 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9
24 10 outvector = inVector(1,:);
24 11 for m=2:size(inVector,1)
0.04 216 12 outvector = bitand(outvector, inVector(m,:));
216 13 end
14
24 15 return;