This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...ns>ImportOptions.set.VariableTypesclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
354
out = numel(obj.OptionsStruct....
20.000 s63.7%
355
end
20.000 s0.3%
All other lines  0.000 s36.0%
Totals  0.000 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)8
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 346 
        function out = numVars(obj)
 347 
            % Brief : return the number of variables
 348 
            % the fastVarOpts holds
 349 
            % e.g
 350 
            % a = matlab.io.internal.FastVarOpts(1)
 351 
            % a.numVars == 1
 352 
            % b = matlab.io.internal.FastVarOpts(3)
 353 
            % b.numVars == 3
< 0.001 
      2 
 354
            out = numel(obj.OptionsStruct.Types); 
< 0.001 
      2 
 355
        end 

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