This is a static copy of a profile reportHome
convertDataFlagsToFlagSize>convSubFunc (4 calls, 0.984 sec)
Generated 05-Aug-2011 13:03:46 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/flag/convertDataFlagsToFlagSize.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 |
67 | thisFlag(:,2) = arrayBitor(o... | 3 | 0.437 s | 44.4% |  |
77 | thisFlag(:,2) = arrayBitor(o... | 1 | 0.306 s | 31.1% |  |
76 | thisFlag(:,1) = arrayBitor(o... | 1 | 0.098 s | 10.0% |  |
78 | thisFlag(:,3) = arrayBitor(o... | 1 | 0.077 s | 7.8% |  |
68 | thisFlag(:,3) = origFlag(:,6... | 3 | 0.033 s | 3.3% |  |
All other lines | | | 0.033 s | 3.3% |  |
Totals | | | 0.984 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
arrayBitor | function | 6 | 0.765 s | 77.8% |  |
Self time (built-ins, overhead, etc.) | | | 0.219 s | 22.2% |  |
Totals | | | 0.984 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 41 |
Non-code lines (comments, blank lines) | 21 |
Code lines (lines that can run) | 20 |
Code lines that did run | 12 |
Code lines that did not run | 8 |
Coverage (did run/can run) | 60.00 % |
Function listing
time calls line
49 function sizedFlags = convSubFunc(origFlag, NUMDIMS)
50
51 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52 %
53 % function sizedFlags = cloneSubFunc(origFlag, NUMDIMS)
54 %
55 %
56 % subfunction that gets the current flag data and puts it in the right
57 % size for the register
58 %
59 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
60
61
62
63
4 64 switch NUMDIMS
4 65 case 6
0.03 3 66 thisFlag(:,1) = origFlag(:,1);
0.44 3 67 thisFlag(:,2) = arrayBitor(origFlag(:,2:5));
0.03 3 68 thisFlag(:,3) = origFlag(:,6);
69
1 70 case 8
71 thisFlag(:,1) = origFlag(:,1);
72 thisFlag(:,2) = arrayBitor(origFlag(:,2:7));
73 thisFlag(:,3) = origFlag(:,8);
74
1 75 case 10
0.10 1 76 thisFlag(:,1) = arrayBitor(origFlag(:,1:2));
0.31 1 77 thisFlag(:,2) = arrayBitor(origFlag(:,3:8));
0.08 1 78 thisFlag(:,3) = arrayBitor(origFlag(:,9:10));
79
80 case 24
81 thisFlag(:,1) = arrayBitor(origFlag(:,1:4));
82 thisFlag(:,2) = arrayBitor(origFlag(:,5:20));
83 thisFlag(:,3) = arrayBitor(origFlag(:,21:24));
84
85 end
86
4 87 sizedFlags = thisFlag;
88
4 89 return;
Other subfunctions in this file are not included in this listing.