This is a static copy of a profile reportHome
fullfile>ensureTrailingFilesep (Calls: 1942, Time: 0.036 s)
Generated 16-Jul-2020 17:08:26 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 | 1942 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
118 | f = addTrailingFileSep(f,fileS... | 1942 | 0.028 s | 76.9% | |
120 | end | 1942 | 0.001 s | 1.6% | |
119 | end | 1942 | 0.001 s | 1.4% | |
117 | else | 1942 | 0.000 s | 1.0% | |
113 | if iscell(f) | 1942 | 0.000 s | 0.7% | |
All other lines | | | 0.007 s | 18.4% | |
Totals | | | 0.036 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
fullfile>addTrailingFileSep | subfunction | 1942 | 0.021 s | 59.3% | |
Self time (built-ins, overhead, etc.) | | | 0.015 s | 40.7% | |
Totals | | | 0.036 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 | 1942 | 113 | if iscell(f)
|
| | 114 | for i=1:numel(f)
|
| | 115 | f{i} = addTrailingFileSep(f{i},fileSeparator);
|
| | 116 | end
|
< 0.001 | 1942 | 117 | else
|
0.028 | 1942 | 118 | f = addTrailingFileSep(f,fileSeparator);
|
< 0.001 | 1942 | 119 | end
|
< 0.001 | 1942 | 120 | end
|
Other subfunctions in this file are not included in this listing.