This is a static copy of a profile report

Home

legendcolorbarlayout>doPixelBoundsCB (4 calls, 0.052 sec)
Generated 18-Mar-2011 23:32:54 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/legendcolorbarlayout.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
generateBEMmeshM-function2
plotDeformedProfileM-function2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
355
doLayout(get(obj,'Parent'));
40.052 s100.0%
356
end
40 s0%
354
setappdata(obj,'LegendColorbar...
40 s0%
353
if isempty(oldpixbounds) || an...
40 s0%
352
oldpixbounds = getappdata(obj,...
40 s0%
All other lines  0 s0%
Totals  0.052 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
legendcolorbarlayout>doLayoutM-subfunction40.052 s100.0%
opaque.doubleM-function40 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.052 s100% 
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function9
Non-code lines (comments, blank lines)3
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
348 function doPixelBoundsCB(hSrc,eventdata) %#ok
4 349 obj = double(eventdata.affectedObject); % a text object
350 % only redo layout if pixel bounds changed by more than a pixel since
351 % axis bounds can bounce around by a pixel due to rounding
4 352 oldpixbounds = getappdata(obj,'LegendColorbarLayoutPixBounds');
4 353 if isempty(oldpixbounds) || any(abs(eventdata.newValue-oldpixbounds) > 1)
4 354 setappdata(obj,'LegendColorbarLayoutPixBounds',eventdata.newValue);
0.05 4 355 doLayout(get(obj,'Parent'));
4 356 end

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