This is a static copy of a profile reportHome
massageData>framecutSub (13 calls, 0.415 sec)
Generated 05-Aug-2011 13:00:43 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/flag/massageData.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 |
| 184 | eval(sprintf('d.%s=regcut(d.%s... | 91 | 0.393 s | 94.7% |  |
| 181 | if(eval(sprintf('isstruct(d.%s... | 100 | 0.022 s | 5.3% |  |
| 188 | return | 13 | 0 s | 0% |  |
| 186 | end | 100 | 0 s | 0% |  |
| 185 | end | 91 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0.415 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| massageData>regcut | subfunction | 91 | 0.361 s | 86.8% |  |
| massageData>framecutSub | subfunction | 9 | 0 s | 0% |  |
| Self time (built-ins, overhead, etc.) | | | 0.055 s | 13.2% |  |
| Totals | | | 0.415 s | 100% | |
Code Analyzer results
| Line number | Message |
| 177 | Input argument 'ind' might be unused. If this is OK, consider replacing it by ~. |
Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 12 |
| Non-code lines (comments, blank lines) | 3 |
| Code lines (lines that can run) | 9 |
| Code lines that did run | 9 |
| Code lines that did not run | 0 |
| Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
177 function d = framecutSub(d, ind)
178
13 179 names=fieldnames(d);
13 180 for i=1:length(names)
0.02 100 181 if(eval(sprintf('isstruct(d.%s)',names{i})))
9 182 eval(sprintf('d.%s=framecutSub(d.%s,ind);',names{i},names{i}));
91 183 else
0.39 91 184 eval(sprintf('d.%s=regcut(d.%s,ind);',names{i},names{i}));
91 185 end
100 186 end
187
13 188 return
Other subfunctions in this file are not included in this listing.