This is a static copy of a profile reportHome
HelpTopicMap>HelpTopicMap.accessDocLanguage (Calls: 1, Time: 0.005 s)
Generated 18-May-2021 16:05:21 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+csh/HelpTopicMap.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 |
| 65 | docLang = matlab.internal.doc.... | 1 | 0.005 s | 98.8% |  |
| 59 | persistent lang; | 1 | 0.000 s | 0.4% |  |
| 64 | if isempty(lang) | 1 | 0.000 s | 0.3% |  |
| 60 | if nargin | 1 | 0.000 s | 0.1% |  |
| 69 | end | 1 | 0.000 s | 0.1% |  |
| All other lines | | | 0.000 s | 0.4% |  |
| Totals | | | 0.005 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| getDocLanguageLocale | function | 1 | 0.002 s | 43.5% |  |
| Self time (built-ins, overhead, etc.) | | | 0.003 s | 56.5% |  |
| Totals | | | 0.005 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
| Total lines in function | 12 |
| Non-code lines (comments, blank lines) | 2 |
| Code lines (lines that can run) | 10 |
| Code lines that did run | 7 |
| Code lines that did not run | 3 |
| Coverage (did run/can run) | 70.00 % |
Function listing
time | Calls | line |
|---|
| | 58 | function docLang = accessDocLanguage(override)
|
< 0.001 | 1 | 59 | persistent lang;
|
< 0.001 | 1 | 60 | if nargin
|
| | 61 | lang = override;
|
< 0.001 | 1 | 62 | end
|
| | 63 |
|
< 0.001 | 1 | 64 | if isempty(lang)
|
0.005 | 1 | 65 | docLang = matlab.internal.doc.services.getDocLanguageLocale;
|
| | 66 | else
|
| | 67 | docLang = lang;
|
< 0.001 | 1 | 68 | end
|
< 0.001 | 1 | 69 | end
|
Other subfunctions in this file are not included in this listing.