This is a static copy of a profile report

Home

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 NameFunction TypeCalls
genfigfunction128
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
348
else
1280.011 s100.0%
350
end
1280 s0%
349
m=i; n=j;
1280 s0%
346
if (swap)
1280 s0%
All other lines  0 s0%
Totals  0.011 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function7
Non-code lines (comments, blank lines)2
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
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