This is a static copy of a profile reportHome
plot1overf>chooseEndPoints (2 calls, 0.044 sec)
Generated 05-Aug-2011 13:03:53 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/plotting/plot1overf.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
plot1overf | function | 2 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
72 | endPoints=flagEndpoints(index)... | 2 | 0.044 s | 100.0% |  |
79 | return; | 2 | 0 s | 0% |  |
77 | nScan = size(endPoints,1); | 2 | 0 s | 0% |  |
76 | endPoints=endPoints(longEnough... | 2 | 0 s | 0% |  |
75 | longEnough=(lengths>min_len... | 2 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.044 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
flagEndpoints | function | 2 | 0.044 s | 100.0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0.044 s | 100% | |
Code Analyzer results
Line number | Message |
69 | The function return value 'doPlots' might be unset. |
69 | Input argument 'samples_between_plots' might be unused. If this is OK, consider replacing it by ~. |
77 | The value assigned to variable 'nScan' might be unused. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
69 function [endPoints doPlots] = chooseEndPoints(index,min_length,samples_between_plots)
70
71 % Find the start and end points of the scans.
0.04 2 72 endPoints=flagEndpoints(index);
73 %Cut to use only one long enough
2 74 lengths=endPoints(:,2)-endPoints(:,1);
2 75 longEnough=(lengths>min_length);
2 76 endPoints=endPoints(longEnough,:);
2 77 nScan = size(endPoints,1);
78
2 79 return;
Other subfunctions in this file are not included in this listing.