This is a static copy of a profile report

Home

legendcolorbarlayout>doParentResize (2 calls, 0.218 sec)
Generated 18-Mar-2011 23:32:23 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-function1
plotDeformedProfileM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
328
if strcmp(get(ch,'ActivePositi...
20.197 s90.5%
331
doLayout(ch);
20.021 s9.5%
334
end
240 s0%
333
end
40 s0%
332
end
20 s0%
All other lines  0 s0%
Totals  0.218 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
legendcolorbarlayout>doLayoutCBM-subfunction120.176 s81.0%
legendcolorbarlayout>doLayoutM-subfunction20.021 s9.5%
legendcolorbarlayoutM-function20 s0%
allchildM-function20 s0%
opaque.doubleM-function40 s0%
Self time (built-ins, overhead, etc.)  0.021 s9.5%
Totals  0.218 s100% 
M-Lint results
No M-Lint 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 run18
Code lines that did not run2
Coverage (did run/can run)90.00 %
Function listing
   time   calls  line
313 function doParentResize(hSrc,eventdata) %#ok
2 314 child = allchild(double(hSrc));
2 315 ppos = get(hSrc,'Position');
2 316 if any(isnan(ppos)) || any(ppos(3:4) <= 0)
317 return;
318 end
2 319 par = double(hSrc);
2 320 fig = ancestor(par,'figure');
2 321 ppos = hgconvertunits(fig,ppos,get(par,'Units'),'points',get(par,'Parent'));
2 322 for k=1:length(child)
24 323 ch = child(k);
24 324 if strcmp(get(ch,'type'),'axes')
4 325 if isappdata(ch,'LegendColorbarText') && ...
326 isappdata(ch,'LegendColorbarInnerList')
2 327 setappdata(ch,'LegendColorbarOriginalSize',ppos);
0.20 2 328 if strcmp(get(ch,'ActivePositionProperty'),'outerposition')
2 329 legendcolorbarlayout(ch,'resetOuterLayout');
2 330 end
0.02 2 331 doLayout(ch);
2 332 end
4 333 end
24 334 end

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