This is a static copy of a profile report

Home

SpreadsheetInputs>SpreadsheetInputs.set.VariableUnitsRange (Calls: 2, Time: 0.007 s)
Generated 04-Jun-2021 04:11:22 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+shared\SpreadsheetInputs.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...Spreadsheet.setNonDetectionPropertiesclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
160
obj.VariableUnitsRange = valid...
20.007 s96.7%
164
end
20.000 s0.0%
163
end
20.000 s0.0%
159
try
20.000 s0.0%
All other lines  0.000 s3.3%
Totals  0.007 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...t;SpreadsheetImportOptions.getNumVarsclass method20.007 s92.2%
SpreadsheetInputs>validateRangeclass method20.000 s0.2%
Self time (built-ins, overhead, etc.)  0.001 s7.6%
Totals  0.007 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)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
 158 
        function obj = set.VariableUnitsRange(obj,rhs)
< 0.001 
      2 
 159
        try 
  0.007 
      2 
 160
            obj.VariableUnitsRange = validateRange(rhs,'VariableUnitsRange',@SingleRecordNumVars,obj.getNumVars()); 
 161 
        catch ME
 162 
            throwAsCaller(ME);
< 0.001 
      2 
 163
        end 
< 0.001 
      2 
 164
        end 

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