This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
subplot>addAxesToGridsubfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
23
obj.SubplotDeleteListener = ev...
40.001 s81.2%
22
f = @(o,e) matlab.graphics.int...
40.000 s8.7%
21
p = 'ObjectBeingDestroyed';
40.000 s3.8%
24
end     
40.000 s3.1%
All other lines  0.000 s3.2%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function5
Non-code lines (comments, blank lines)1
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run0
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.