This is a static copy of a profile reportHome
genfig>swapIndex (128 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:45 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/plotting/genfig.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
genfig | function | 128 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
348 | else | 128 | 0.011 s | 100.0% |  |
350 | end | 128 | 0 s | 0% |  |
349 | m=i; n=j; | 128 | 0 s | 0% |  |
346 | if (swap) | 128 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 7 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 5 |
Code lines that did run | 4 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 80.00 % |
Function listing
time calls line
344 function [m,n]=swapIndex(swap,i,j)
345
128 346 if (swap)
347 m=j; n=i;
0.01 128 348 else
128 349 m=i; n=j;
128 350 end