This is a static copy of a profile reportHome
SubplotDeleteListenersManager.SubplotDeleteListenersManager>SubplotDeleteListenersManager.addToListeners (Calls: 4, Time: 0.001 s)
Generated 18-May-2021 16:05:23 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/graphics/axis/+matlab/+graphics/+internal/@SubplotDeleteListenersManager/SubplotDeleteListenersManager.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 |
| 23 | obj.SubplotDeleteListener = ev... | 4 | 0.001 s | 81.2% |  |
| 22 | f = @(o,e) matlab.graphics.int... | 4 | 0.000 s | 8.7% |  |
| 21 | p = 'ObjectBeingDestroyed'; | 4 | 0.000 s | 3.8% |  |
| 24 | end | 4 | 0.000 s | 3.1% |  |
| All other lines | | | 0.000 s | 3.2% |  |
| Totals | | | 0.001 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
| Total lines in function | 5 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 4 |
| Code lines that did run | 4 |
| Code lines that did not run | 0 |
| Coverage (did run/can run) | 100.00 % |
Function listing
time | Calls | line |
|---|
| | 20 | function addToListeners(obj,ax)
|
< 0.001 | 4 | 21 | p = 'ObjectBeingDestroyed';
|
< 0.001 | 4 | 22 | f = @(o,e) matlab.graphics.internal.axesDestroyed(o, e);
|
< 0.001 | 4 | 23 | obj.SubplotDeleteListener = event.listener(ax,p,f);
|
< 0.001 | 4 | 24 | end
|
Other subfunctions in this file are not included in this listing.