This is a static copy of a profile reportHome
setNewFlag>setFlagBits (9 calls, 0.240 sec)
Generated 05-Aug-2011 13:03:48 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/flag/setNewFlag.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
setNewFlag | function | 9 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
139 | d.flags.bit.fast = bitor(d.fla... | 9 | 0.175 s | 72.7% |  |
143 | d.flags.fast = d.flags.bit.fas... | 9 | 0.066 s | 27.3% |  |
145 | return; | 9 | 0 s | 0% |  |
142 | d.flags.medium = d.flags.bit.m... | 9 | 0 s | 0% |  |
141 | d.flags.slow = d.flags.bit.slo... | 9 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.240 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 7 |
Code lines that did run | 7 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
134 function d = setFlagBits(d, flags)
135
136
9 137 d.flags.bit.slow = bitor(d.flags.bit.slow, flags.bit.slow);
9 138 d.flags.bit.medium = bitor(d.flags.bit.medium, flags.bit.medium);
0.17 9 139 d.flags.bit.fast = bitor(d.flags.bit.fast, flags.bit.fast);
140
9 141 d.flags.slow = d.flags.bit.slow > 0;
9 142 d.flags.medium = d.flags.bit.medium > 0;
0.07 9 143 d.flags.fast = d.flags.bit.fast > 0;
144
9 145 return;
Other subfunctions in this file are not included in this listing.