This is a static copy of a profile reportHome
fullfile>ensureTrailingFilesep (Calls: 11, Time: 0.002 s)
Generated 18-May-2021 16:05:20 using performance time.
subfunction in file /usr/local/MATLAB/R2021a/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs
Parents (calling functions)
| Function Name | Function Type | Calls |
| fullfile | function | 11 |
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 118 | f = addTrailingFileSep(f,fileS... | 11 | 0.001 s | 79.3% |  |
| 120 | end | 11 | 0.000 s | 0.4% |  |
| 119 | end | 11 | 0.000 s | 0.1% |  |
| 117 | else | 11 | 0.000 s | 0.1% |  |
| 113 | if iscell(f) | 11 | 0.000 s | 0.1% |  |
| All other lines | | | 0.000 s | 20.2% |  |
| Totals | | | 0.002 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| fullfile>addTrailingFileSep | subfunction | 11 | 0.001 s | 67.1% |  |
| Self time (built-ins, overhead, etc.) | | | 0.001 s | 32.9% |  |
| Totals | | | 0.002 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
| Total lines in function | 9 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 8 |
| Code lines that did run | 5 |
| Code lines that did not run | 3 |
| Coverage (did run/can run) | 62.50 % |
Function listing
time | Calls | line |
|---|
| | 112 | function f = ensureTrailingFilesep(f,fileSeparator)
|
< 0.001 | 11 | 113 | if iscell(f)
|
| | 114 | for i=1:numel(f)
|
| | 115 | f{i} = addTrailingFileSep(f{i},fileSeparator);
|
| | 116 | end
|
< 0.001 | 11 | 117 | else
|
0.001 | 11 | 118 | f = addTrailingFileSep(f,fileSeparator);
|
< 0.001 | 11 | 119 | end
|
< 0.001 | 11 | 120 | end
|
Other subfunctions in this file are not included in this listing.