This is a static copy of a profile reportHome
fullfile>ensureTrailingFilesep (Calls: 4, Time: 0.001 s)
Generated 04-Jun-2021 04:11:06 using performance time.
subfunction in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\iofun\fullfile.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
fullfile | function | 4 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
118 | f = addTrailingFileSep(f,fileS... | 4 | 0.001 s | 76.0% |  |
120 | end | 4 | 0.000 s | 0.1% |  |
119 | end | 4 | 0.000 s | 0.1% |  |
113 | if iscell(f) | 4 | 0.000 s | 0.0% |  |
117 | else | 4 | 0.000 s | 0.0% |  |
All other lines | | | 0.000 s | 23.8% |  |
Totals | | | 0.001 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
fullfile>addTrailingFileSep | subfunction | 4 | 0.001 s | 62.8% |  |
Self time (built-ins, overhead, etc.) | | | 0.000 s | 37.2% |  |
Totals | | | 0.001 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 | 4 | 113 | if iscell(f)
|
| | 114 | for i=1:numel(f)
|
| | 115 | f{i} = addTrailingFileSep(f{i},fileSeparator);
|
| | 116 | end
|
< 0.001 | 4 | 117 | else
|
< 0.001 | 4 | 118 | f = addTrailingFileSep(f,fileSeparator);
|
< 0.001 | 4 | 119 | end
|
< 0.001 | 4 | 120 | end
|
Other subfunctions in this file are not included in this listing.