This is a static copy of a profile report

Home

convertFlagToDataSize>convSubFunc (37 calls, 2.940 sec)
Generated 05-Aug-2011 13:00:39 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/flag/convertFlagToDataSize.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
convertFlagToDataSizefunction37
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
63
thisFlag(:,5:20)  = repmat(ori...
100.853 s29.0%
64
thisFlag(:,21:24) = repmat(ori...
100.634 s21.6%
58
thisFlag(:,3:8)  = repmat(orig...
210.503 s17.1%
59
thisFlag(:,9:10) = repmat(orig...
210.262 s8.9%
62
thisFlag(:,1:4)   = repmat(ori...
100.230 s7.8%
All other lines  0.459 s15.6%
Totals  2.940 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
repmatfunction990.732 s24.9%
Self time (built-ins, overhead, etc.)  2.208 s75.1%
Totals  2.940 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function37
Non-code lines (comments, blank lines)17
Code lines (lines that can run)20
Code lines that did run17
Code lines that did not run3
Coverage (did run/can run)85.00 %
Function listing
   time   calls  line
34 function sizedFlags = convSubFunc(origFlag, NUMDIMS)
35
36 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
37 %
38 % function sizedFlags = cloneSubFunc(origFlag, USER, NUMDIMS)
39 %
40 %
41 % subfunction that gets all the flag data in the right size for the plots
42 %
43 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
44
37 45 switch NUMDIMS
37 46 case 6
0.03 6 47 thisFlag(:,1) = origFlag(:,1);
0.14 6 48 thisFlag(:,2:5) = repmat(origFlag(:,2), [1 4]);
0.08 6 49 thisFlag(:,6) = origFlag(:,3);
50
31 51 case 8
52 thisFlag(:,1) = origFlag(:,1);
53 thisFlag(:,2:7) = repmat(origFlag(:,2), [1 6]);
54 thisFlag(:,8) = origFlag(:,3);
55
31 56 case 10
0.19 21 57 thisFlag(:,1:2) = repmat(origFlag(:,1), [1 2]);
0.50 21 58 thisFlag(:,3:8) = repmat(origFlag(:,2), [1 6]);
0.26 21 59 thisFlag(:,9:10) = repmat(origFlag(:,3), [1 2]);
60
10 61 case 24
0.23 10 62 thisFlag(:,1:4) = repmat(origFlag(:,1), [1 4]);
0.85 10 63 thisFlag(:,5:20) = repmat(origFlag(:,2), [1 16]);
0.63 10 64 thisFlag(:,21:24) = repmat(origFlag(:,3), [1 4]);
65
10 66 end
67
37 68 sizedFlags = thisFlag;
69
0.01 37 70 return;

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