This is a static copy of a profile report

Home

legendcolorbarlayout>doPixelBoundsCB (28 calls, 0.109 sec)
Generated 05-Aug-2011 13:02:09 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/legendcolorbarlayout.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hardcopyfunction28
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
362
doLayout(get(obj,'Parent'));
280.109 s100.0%
363
end
280 s0%
361
setappdata(obj,'LegendColorbar...
280 s0%
360
if isempty(oldpixbounds) || an...
280 s0%
359
oldpixbounds = getappdata(obj,...
280 s0%
All other lines  0 s0%
Totals  0.109 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
legendcolorbarlayout>doLayoutsubfunction280.109 s100.0%
opaque.doublefunction280 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.109 s100% 
Code Analyzer results
No Code Analyzer 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
355 function doPixelBoundsCB(hSrc,eventdata) %#ok
28 356 obj = double(eventdata.affectedObject); % a text object
357 % only redo layout if pixel bounds changed by more than a pixel since
358 % axis bounds can bounce around by a pixel due to rounding
28 359 oldpixbounds = getappdata(obj,'LegendColorbarLayoutPixBounds');
28 360 if isempty(oldpixbounds) || any(abs(eventdata.newValue-oldpixbounds) > 1)
28 361 setappdata(obj,'LegendColorbarLayoutPixBounds',eventdata.newValue);
0.11 28 362 doLayout(get(obj,'Parent'));
28 363 end

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