rng>getCurrentType (Calls: 1, Time: 0.167 s)
Generated 19-Jun-2021 04:39:01 using performance time.
subfunction in file /nfs/linux/matlab-2019b/toolbox/matlab/randfun/rng.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
rng | function | 1 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
181 | curr = RandStream.getGlobalStr... | 1 | 0.162 s | 97.5% | ![]() |
182 | gentype = curr.Type; | 1 | 0.004 s | 2.5% | ![]() |
183 | if strcmpi(gentype,'legacy') | 1 | 0.000 s | 0.0% | ![]() |
187 | end | 1 | 0.000 s | 0.0% | ![]() |
All other lines | 0.000 s | 0.0% | ![]() | ||
Totals | 0.167 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
RandStream.RandStream>getMethodNames | class method | 1 | 0.024 s | 14.4% | ![]() |
...dStream>RandStream.getGlobalStream | class method | 1 | 0.006 s | 3.7% | ![]() |
RandStream.RandStream>RandStream.subsref | class method | 1 | 0.004 s | 2.1% | ![]() |
mpower | function | 5 | 0.001 s | 0.5% | ![]() |
Self time (built-ins, overhead, etc.) | 0.132 s | 79.3% | ![]() | ||
Totals | 0.167 s | 100% |
Total lines in function | 8 |
Non-code lines (comments, blank lines) | 2 |
Code lines (lines that can run) | 6 |
Code lines that did run | 4 |
Code lines that did not run | 2 |
Coverage (did run/can run) | 66.67 % |
Other subfunctions in this file are not included in this listing.