This is a static copy of a profile reportHome
ImportOptions.ImportOptions>ImportOptions.set.NumVariables (Calls: 2, Time: 0.004 s)
Generated 04-Jun-2021 04:11:18 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\@ImportOptions\ImportOptions.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
250 | obj.fast_var_opts = matlab.io.... | 2 | 0.004 s | 93.0% |  |
251 | end | 2 | 0.000 s | 0.0% |  |
246 | if ~isnumeric(rhs) || ~isscala... | 2 | 0.000 s | 0.0% |  |
248 | end | 2 | 0.000 s | 0.0% |  |
All other lines | | | 0.000 s | 7.0% |  |
Totals | | | 0.004 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
FastVarOpts>FastVarOpts.FastVarOpts | class method | 2 | 0.003 s | 76.8% |  |
Self time (built-ins, overhead, etc.) | | | 0.001 s | 23.2% |  |
Totals | | | 0.004 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 8 |
Non-code lines (comments, blank lines) | 3 |
Code lines (lines that can run) | 5 |
Code lines that did run | 4 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 80.00 % |
Function listing
time | Calls | line |
---|
| | 244 | function obj = set.NumVariables(obj,rhs)
|
| | 245 | % Expect a non-negative scalar integer
|
< 0.001 | 2 | 246 | if ~isnumeric(rhs) || ~isscalar(rhs) || floor(rhs) ~= rhs || rhs < 0 || isinf(rhs)
|
| | 247 | error(message('MATLAB:textio:textio:ExpectedScalarInt'));
|
< 0.001 | 2 | 248 | end
|
| | 249 |
|
0.004 | 2 | 250 | obj.fast_var_opts = matlab.io.internal.FastVarOpts(rhs);
|
< 0.001 | 2 | 251 | end
|
Other subfunctions in this file are not included in this listing.