This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...Inputs>VarOptsInputs.set.FillValueclass method15
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
109
if (obj.Type == "auto")
150.001 s60.2%
112
cast(val,obj.Type);
150.000 s19.7%
108
assert(isscalar(val)&&...
150.000 s8.3%
113
end
150.000 s4.2%
117
end
150.000 s0.2%
All other lines  0.000 s7.4%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
VarOptsInputs>VarOptsInputs.get.Typeclass method300.001 s54.0%
Self time (built-ins, overhead, etc.)  0.001 s46.0%
Totals  0.002 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)1
Code lines (lines that can run)11
Code lines that did run8
Code lines that did not run3
Coverage (did run/can run)72.73 %
Function listing
time 
Calls 
 line
 106 
        function val = setFillValue(obj,val)
< 0.001 
     15 
 107
        try 
< 0.001 
     15 
 108
            assert(isscalar(val)&&(isnumeric(val)||islogical(val)||ismissing(val))); 
  0.001 
     15 
 109
            if (obj.Type == "auto") 
 110 
                cast(val,'uint64');
< 0.001 
     15 
 111
            else 
< 0.001 
     15 
 112
                cast(val,obj.Type); 
< 0.001 
     15 
 113
            end 
 114 
        catch
 115 
            error(message('MATLAB:textio:io:FillValueType',obj.Type));
< 0.001 
     15 
 116
        end 
< 0.001 
     15 
 117
        end 

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