This is a static copy of a profile report

Home

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

Line NumberCodeCallsTotal Time% TimeTime Plot
72
endPoints=flagEndpoints(index)...
20.044 s100.0%
79
return;
20 s0%
77
nScan = size(endPoints,1);
20 s0%
76
endPoints=endPoints(longEnough...
20 s0%
75
longEnough=(lengths>min_len...
20 s0%
All other lines  0 s0%
Totals  0.044 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
flagEndpointsfunction20.044 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.044 s100% 
Code Analyzer results
Line numberMessage
69The function return value 'doPlots' might be unset.
69Input argument 'samples_between_plots' might be unused. If this is OK, consider replacing it by ~.
77The value assigned to variable 'nScan' might be unused.
Coverage results
[ Show coverage for parent directory ]
Total lines in function11
Non-code lines (comments, blank lines)5
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
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.