This is a static copy of a profile report

Home

setPlotDisplay (17 calls, 0.809 sec)
Generated 05-Aug-2011 13:03:24 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/plotting/setPlotDisplay.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
introPlotsfunction1
deglitchWrapperfunction1
rfiWrapperfunction2
mainsWrapperfunction1
alphaWrapperfunction1
loadWrapperfunction1
tsysWrapperfunction1
noiseWrapperfunction1
gainWrapperfunction1
tauCalWrapperfunction1
powerSpecWrapperfunction1
overfWrapperfunction1
plot1overffunction2
rmsWrapperfunction1
flagSummaryfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
15
figure('visible', 'off');
170.601 s74.3%
12
close all
170.208 s25.7%
21
return;
170 s0%
14
case 0
170 s0%
13
switch(flag)
170 s0%
All other lines  0 s0%
Totals  0.809 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
closefunction170.208 s25.7%
initprintexporttemplatefunction170 s0%
Self time (built-ins, overhead, etc.)  0.601 s74.3%
Totals  0.809 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function21
Non-code lines (comments, blank lines)13
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
   time   calls  line
1 function setPlotDisplay( flag)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function setPlotDisplay( flag)
6 %
7 % sjcm - tired of typing this out. quick function to set whether plots
8 % will be visible or not.
9 %
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
0.21 17 12 close all
17 13 switch(flag)
17 14 case 0
0.60 17 15 figure('visible', 'off');
16
17 case 1
18 figure('visible', 'on');
19 end
20
17 21 return;