This is a static copy of a profile report

Home

Function details for printEnhanceTextures>printEnhanceTextures.getInstanceThis is a static copy of a profile report

Home

printEnhanceTextures>printEnhanceTextures.getInstance (Calls: 1, Time: 0.002 s)
Generated 02-May-2020 21:54:32 using performance time.
class method in file /Applications/MATLAB_R2018a.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/printEnhanceTextures.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
graphics/private/printjobContentChangesfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
28
if isempty(theInstance) || ~is...
10.001 s55.2%
31
instance = theInstance;
10.000 s10.8%
27
persistent theInstance;
10.000 s9.5%
32
end
10.000 s0.5%
All other lines  0.000 s24.1%
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 run4
Code lines that did not run2
Coverage (did run/can run)66.67 %
Function listing
time 
Calls 
 line
  26 
        function instance = getInstance()
< 0.001 
      1 
  27
            persistent theInstance; 
< 0.001 
      1 
  28
            if isempty(theInstance) || ~isvalid(theInstance) 
  29 
                theInstance = matlab.graphics.internal.printEnhanceTextures;
  30 
            end
< 0.001 
      1 
  31
            instance = theInstance; 
< 0.001 
      1 
  32
        end 

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