This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
395 | setappdata(double(hAx),'Legend... | 165 | 0.011 s | 25.0% |  |
389 | if ~isempty(inlist) | 171 | 0.011 s | 25.0% |  |
387 | inlist = getappdata(double(hAx... | 171 | 0.011 s | 25.0% |  |
377 | outlist = getappdata(double(hA... | 171 | 0.011 s | 25.0% |  |
396 | end | 165 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.044 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
opaque.double | function | 507 | 0.011 s | 25.0% |  |
Self time (built-ins, overhead, etc.) | | | 0.033 s | 75.0% |  |
Totals | | | 0.044 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 25 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 21 |
Code lines that did run | 12 |
Code lines that did not run | 9 |
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.