This is a static copy of a profile report

Home

scribe.legend.init>computePos (24 calls, 0.010 sec)
Generated 18-Mar-2011 23:32:45 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/@scribe/@legend/init.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
legendcolorbarlayout>doInOutLayoutM-subfunction20
scribe.legend.methods>update_userdataM-subfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
198
end
40 s0%
195
if ~isequal(oldPos,axPos)
40 s0%
194
axPos = get(h.Axes,'Position')...
40 s0%
193
oldPos = getappdata(double(h.A...
40 s0%
192
if ~isempty(h.Axes) &&...
240 s0%
All other lines  0.010 s100.0%
Totals  0.010 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.doubleM-function280 s0%
Self time (built-ins, overhead, etc.)  0.010 s100.0%
Totals  0.010 s100% 
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function8
Non-code lines (comments, blank lines)1
Code lines (lines that can run)7
Code lines that did run5
Code lines that did not run2
Coverage (did run/can run)71.43 %
Function listing
   time   calls  line
191 function computePos(hProp,eventData,h) %#ok
24 192 if ~isempty(h.Axes) && isempty(getappdata(double(h.Axes),'inLayout'))
4 193 oldPos = getappdata(double(h.Axes),'LegendComputePosCache');
4 194 axPos = get(h.Axes,'Position');
4 195 if ~isequal(oldPos,axPos)
196 legendcolorbarlayout(h.Axes,'layoutNoPixelBounds');
197 end
4 198 end

Other subfunctions in this file are not included in this listing.