This is a static copy of a profile reportHome
ml_tracecontour>ml_getnbidx (1216653 calls, 348.262 sec)
Generated 05-Nov-2014 07:53:54 using cpu time.
subfunction in file /usr0/home/jenkins/workspace/cellorganizer-demo3D11-glnx64/utilities/2D/tztoolbox/ml_tracecontour.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 |
102 | newidx = ml_shift(idx,1-startp... | 1216653 | 315.967 s | 90.7% |  |
103 | nbidx = newidx(reorder); | 1216653 | 8.261 s | 2.4% |  |
100 | reorder = [4 5 3 6 2 7 1 8]; | 1216653 | 4.666 s | 1.3% |  |
101 | idx = [6 7 8 1 2 3 4 5]; | 1216653 | 4.306 s | 1.2% |  |
All other lines | | | 15.061 s | 4.3% |  |
Totals | | | 348.262 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
ml_shift | function | 1216653 | 304.151 s | 87.3% |  |
Self time (built-ins, overhead, etc.) | | | 44.111 s | 12.7% |  |
Totals | | | 348.262 s | 100% | |
Code Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 6 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
98 function nbidx = ml_getnbidx(startpos)
99
4.67 1216653 100 reorder = [4 5 3 6 2 7 1 8];
4.31 1216653 101 idx = [6 7 8 1 2 3 4 5];
315.97 1216653 102 newidx = ml_shift(idx,1-startpos);
8.26 1216653 103 nbidx = newidx(reorder);
Other subfunctions in this file are not included in this listing.