This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
packdfunction25
calc_loadcorrect_finalfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
20
flags.bit.switch = convSubFunc...
91.716 s58.4%
25
flags = convSubFunc(flag, NUMD...
170.689 s23.4%
21
flags.bit.fast   = convSubFunc...
90.525 s17.8%
16
flags.fast   = convSubFunc(fla...
10.011 s0.4%
30
return;
260 s0%
All other lines  0.000 s0.0%
Totals  2.940 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
convertFlagToDataSize>convSubFuncsubfunction372.940 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  2.940 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function30
Non-code lines (comments, blank lines)17
Code lines (lines that can run)13
Code lines that did run13
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
1 function flags = convertFlagToDataSize(flag, NUMDIMS)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function flags = convertFlagToDataSize(flag, NUMDIMS)
6 %
7 % function that converts our flag data (Nby3) to the size of the data and
8 % switch data register
9 %
10 % sjcm
11 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12
26 13 flags = flag;
26 14 if(isfield(flag, 'fast'))
1 15 flags.switch = convSubFunc(flag.fast, 24);
0.01 1 16 flags.fast = convSubFunc(flag.fast, NUMDIMS);
1 17 end
18
26 19 if(isfield(flag, 'bit'))
1.72 9 20 flags.bit.switch = convSubFunc(flag.bit.fast, 24);
0.52 9 21 flags.bit.fast = convSubFunc(flag.bit.fast, NUMDIMS);
9 22 end
23
26 24 if(~isstruct(flag))
0.69 17 25 flags = convSubFunc(flag, NUMDIMS);
17 26 end
27
28
29
26 30 return;

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