This is a static copy of a profile report

Home

printEnhanceTextures>printEnhanceTextures.getInstance (Calls: 12, Time: 0.002 s)
Generated 16-Jul-2020 17:09:28 using performance time.
class method in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/printing/+matlab/+graphics/+internal/printEnhanceTextures.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
printing/private/printjobContentChangesfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
28
if isempty(theInstance) || ~is...
120.001 s63.1%
27
persistent theInstance;
120.000 s11.0%
31
instance = theInstance;
120.000 s9.8%
32
end
120.000 s0.8%
30
end
120.000 s0.3%
All other lines  0.000 s15.0%
Totals  0.002 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
  26 
        function instance = getInstance()
< 0.001 
     12 
  27
            persistent theInstance; 
< 0.001 
     12 
  28
            if isempty(theInstance) || ~isvalid(theInstance) 
  29 
                theInstance = matlab.graphics.internal.printEnhanceTextures;
< 0.001 
     12 
  30
            end 
< 0.001 
     12 
  31
            instance = theInstance; 
< 0.001 
     12 
  32
        end 

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