This is a static copy of a profile report

Home

gtitle (84 calls, 0.219 sec)
Generated 05-Aug-2011 13:03:27 using cpu time.
function in file /home/LeechJ/cbass_analysis/matutils/gtitle.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
packdfunction6
genfigfunction24
genfigLoadfunction2
genfigAlphafunction48
genfigPowerSpecfunction1
plot1overf>getStatsPlotssubfunction2
genfigRmsfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
axes('Position',[0,0,1,1],'Vis...
840.109 s50.0%
6
if(~exist('y'))
840.087 s40.0%
11
h=text(0.5,y,str,'Units','Norm...
840.022 s10.0%
12
'HorizontalAlignment','center'...
840 s0%
8
end
840 s0%
All other lines  0 s0%
Totals  0.219 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
scribe.legend.init>changedCurrentAxessubfunction130.098 s45.0%
Self time (built-ins, overhead, etc.)  0.120 s55.0%
Totals  0.219 s100% 
Code Analyzer results
Line numberMessage
6EXIST with two input arguments is generally faster and clearer than with one input argument.
Coverage results
[ Show coverage for parent directory ]
Total lines in function12
Non-code lines (comments, blank lines)6
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
1 function h=gtitle(str,y)
2 % function gtitle(str)
3 %
4 % Put a global title on the current figure
5
0.09 84 6 if(~exist('y'))
84 7 y=0.96;
84 8 end
9
0.11 84 10 axes('Position',[0,0,1,1],'Visible','off')
0.02 84 11 h=text(0.5,y,str,'Units','Normalized','FontSize',18,...
84 12 'HorizontalAlignment','center');