This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
convertDataFlagsToFlagSizefunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
67
thisFlag(:,2)   = arrayBitor(o...
30.437 s44.4%
77
thisFlag(:,2)   = arrayBitor(o...
10.306 s31.1%
76
thisFlag(:,1)   = arrayBitor(o...
10.098 s10.0%
78
thisFlag(:,3)   = arrayBitor(o...
10.077 s7.8%
68
thisFlag(:,3)   = origFlag(:,6...
30.033 s3.3%
All other lines  0.033 s3.3%
Totals  0.984 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
arrayBitorfunction60.765 s77.8%
Self time (built-ins, overhead, etc.)  0.219 s22.2%
Totals  0.984 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function41
Non-code lines (comments, blank lines)21
Code lines (lines that can run)20
Code lines that did run12
Code lines that did not run8
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.