This is a static copy of a profile report

Home

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

Home

printEnhanceTextures>printEnhanceTextures.isTexturesUnderLimit (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
...rintEnhanceTextures.needEnhanceOutputclass method1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
68
doEnhance = cellfun(@(x) size(...
10.001 s72.7%
67
cdata = get(objects, {'CData'}...
10.000 s9.8%
70
end
10.000 s0.3%
69
res = any(doEnhance);
10.000 s0.0%
All other lines  0.000 s17.3%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...m>@(x)size(x,1)*size(x,2)<limitanonymous function10.000 s22.9%
Self time (built-ins, overhead, etc.)  0.001 s77.1%
Totals  0.002 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)3
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
  64 
        function res = isTexturesUnderLimit(~, objects, limit)
  65 
            % Check whether texture size is under given limit
  66 
            
< 0.001 
      1 
  67
            cdata = get(objects, {'CData'}); 
  0.001 
      1 
  68
            doEnhance = cellfun(@(x) size(x,1)*size(x,2) < limit, cdata, 'Uniform', true); 
< 0.001 
      1 
  69
            res = any(doEnhance); 
< 0.001 
      1 
  70
        end 

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