This is a static copy of a profile report

Home

cutObs>framecutSub (468 calls, 3.126 sec)
Generated 05-Aug-2011 13:03:46 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/cutObs.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
cutObsfunction18
cutObs>framecutSubsubfunction450
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
102
eval(sprintf('d.%s=regcut(d.%s...
4862.022 s64.7%
104
eval(sprintf('d.%s=regcut(d.%s...
11700.328 s10.5%
97
if(eval(sprintf('isstruct(d.%s...
25020.317 s10.1%
100
eval(sprintf('thisSize = size(...
20520.295 s9.4%
106
eval(sprintf('d.%s=regcut(d.%s...
3960.066 s2.1%
All other lines  0.098 s3.1%
Totals  3.126 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
cutObs>regcutsubfunction20522.088 s66.8%
cutObs>framecutSubsubfunction4500 s0%
Self time (built-ins, overhead, etc.)  1.038 s33.2%
Totals  3.126 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function21
Non-code lines (comments, blank lines)3
Code lines (lines that can run)18
Code lines that did run15
Code lines that did not run3
Coverage (did run/can run)83.33 %
Function listing
   time   calls  line
93 function d = framecutSub(d, indRx, indServ, indReg)
94
0.01 468 95 names=fieldnames(d);
468 96 for i=1:length(names)
0.32 2502 97 if(eval(sprintf('isstruct(d.%s)',names{i})))
0.04 450 98 eval(sprintf('d.%s=framecutSub(d.%s,indRx, indServ, indReg);',names{i},names{i}));
2052 99 else
0.30 2052 100 eval(sprintf('thisSize = size(d.%s,1);', names{i}));
0.02 2052 101 if(thisSize == length(indRx))
2.02 486 102 eval(sprintf('d.%s=regcut(d.%s,indRx);',names{i},names{i}));
1566 103 elseif(thisSize == length(indReg))
0.33 1170 104 eval(sprintf('d.%s=regcut(d.%s,indReg);',names{i},names{i}));
396 105 elseif(thisSize == length(indServ))
0.07 396 106 eval(sprintf('d.%s=regcut(d.%s,indServ);',names{i},names{i}));
107 else
108 error('Do not know which dimensino to cut over');
109 end
2052 110 end
0.01 2502 111 end
112
468 113 return

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