This is a static copy of a profile reportHome
fullfile>ensureTrailingFilesep (Calls: 1518, Time: 0.038 s)
Generated 18-Jul-2020 08:10:33 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
fullfile | function | 1518 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
118 | f = addTrailingFileSep(f,fileS... | 1518 | 0.030 s | 78.7% | |
120 | end | 1518 | 0.001 s | 1.7% | |
113 | if iscell(f) | 1518 | 0.000 s | 1.0% | |
117 | else | 1518 | 0.000 s | 0.6% | |
119 | end | 1518 | 0.000 s | 0.3% | |
All other lines | | | 0.007 s | 17.7% | |
Totals | | | 0.038 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
fullfile>addTrailingFileSep | subfunction | 1518 | 0.024 s | 61.6% | |
Self time (built-ins, overhead, etc.) | | | 0.015 s | 38.4% | |
Totals | | | 0.038 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 | 1518 | 113 | if iscell(f)
|
| | 114 | for i=1:numel(f)
|
| | 115 | f{i} = addTrailingFileSep(f{i},fileSeparator);
|
| | 116 | end
|
< 0.001 | 1518 | 117 | else
|
0.030 | 1518 | 118 | f = addTrailingFileSep(f,fileSeparator);
|
< 0.001 | 1518 | 119 | end
|
< 0.001 | 1518 | 120 | end
|
Other subfunctions in this file are not included in this listing.