This is a static copy of a profile report

Home

legendcolorbarlayout>doParentResize (29 calls, 0.612 sec)
Generated 05-Aug-2011 13:02:08 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
subplotfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
335
if strcmp(get(ch,'ActivePositi...
410.317 s51.8%
338
doLayout(ch);
410.284 s46.4%
331
if strcmp(get(ch,'type'),'axes...
5070.011 s1.8%
341
end
5070 s0%
340
end
2050 s0%
All other lines  0 s0%
Totals  0.612 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
legendcolorbarlayout>doLayoutsubfunction410.284 s46.4%
legendcolorbarlayout>doLayoutCBsubfunction1680.219 s35.7%
allchildfunction290 s0%
opaque.doublefunction580 s0%
Self time (built-ins, overhead, etc.)  0.109 s17.9%
Totals  0.612 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function22
Non-code lines (comments, blank lines)2
Code lines (lines that can run)20
Code lines that did run16
Code lines that did not run4
Coverage (did run/can run)80.00 %
Function listing
   time   calls  line
320 function doParentResize(hSrc,eventdata) %#ok
29 321 child = allchild(double(hSrc));
29 322 ppos = get(hSrc,'Position');
29 323 if any(isnan(ppos)) || any(ppos(3:4) <= 0)
324 return;
325 end
29 326 par = double(hSrc);
29 327 fig = ancestor(par,'figure');
29 328 ppos = hgconvertunits(fig,ppos,get(par,'Units'),'points',get(par,'Parent'));
29 329 for k=1:length(child)
507 330 ch = child(k);
0.01 507 331 if strcmp(get(ch,'type'),'axes')
205 332 if isappdata(ch,'LegendColorbarText') && ...
333 isappdata(ch,'LegendColorbarInnerList')
41 334 setappdata(ch,'LegendColorbarOriginalSize',ppos);
0.32 41 335 if strcmp(get(ch,'ActivePositionProperty'),'outerposition')
336 legendcolorbarlayout(ch,'resetOuterLayout');
337 end
0.28 41 338 doLayout(ch);
41 339 end
205 340 end
507 341 end

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