This is a static copy of a profile report

Home

legendcolorbarlayout>localValidateLists (171 calls, 0.044 sec)
Generated 05-Aug-2011 13:01:55 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
legendcolorbarlayout>doLayoutsubfunction171
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
395
setappdata(double(hAx),'Legend...
1650.011 s25.0%
389
if ~isempty(inlist)
1710.011 s25.0%
387
inlist = getappdata(double(hAx...
1710.011 s25.0%
377
outlist = getappdata(double(hA...
1710.011 s25.0%
396
end
1650 s0%
All other lines  0 s0%
Totals  0.044 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.doublefunction5070.011 s25.0%
Self time (built-ins, overhead, etc.)  0.033 s75.0%
Totals  0.044 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function25
Non-code lines (comments, blank lines)4
Code lines (lines that can run)21
Code lines that did run12
Code lines that did not run9
Coverage (did run/can run)57.14 %
Function listing
   time   calls  line
372 function localValidateLists(hAx)
373 % Given an axes, make sure that the handles stored on the appdata are peers
374 % of the axes and not cruft from a copy.
375
171 376 hAx = handle(hAx);
0.01 171 377 outlist = getappdata(double(hAx),'LegendColorbarOuterList');
171 378 outlist(~ishandle(outlist)) = [];
171 379 if ~isempty(outlist)
380 axList = get(outlist,'Axes');
381 if iscell(axList)
382 axList = cell2mat(axList);
383 end
384 outlist(axList~=hAx) = [];
385 setappdata(double(hAx),'LegendColorbarOuterList',outlist);
386 end
0.01 171 387 inlist = getappdata(double(hAx),'LegendColorbarInnerList');
171 388 inlist(~ishandle(inlist)) = [];
0.01 171 389 if ~isempty(inlist)
165 390 axList = get(inlist,'Axes');
165 391 if iscell(axList)
392 axList = cell2mat(axList);
393 end
165 394 inlist(axList~=hAx) = [];
0.01 165 395 setappdata(double(hAx),'LegendColorbarInnerList',inlist);
165 396 end

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