This is a static copy of a profile report

Home

Function details for fullfile>ensureTrailingFilesepThis is a static copy of a profile report

Home

fullfile>ensureTrailingFilesep (Calls: 1635, Time: 0.037 s)
Generated 28-Jun-2020 22:32:30 using performance time.
subfunction in file /Applications/MATLAB_R2018a.app/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fullfilefunction1635
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
116
f = addTrailingFileSep(f,fileS...
16350.030 s80.4%
118
end
16350.001 s1.6%
117
end
16350.000 s1.0%
111
if iscell(f)
16350.000 s0.7%
115
else
16350.000 s0.6%
All other lines  0.006 s15.8%
Totals  0.037 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
fullfile>addTrailingFileSepsubfunction16350.023 s63.9%
Self time (built-ins, overhead, etc.)  0.013 s36.1%
Totals  0.037 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)1
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
time 
Calls 
 line
 110 
function f = ensureTrailingFilesep(f,fileSeparator)
< 0.001 
   1635 
 111
    if iscell(f) 
 112 
        for i=1:numel(f)
 113 
            f{i} = addTrailingFileSep(f{i},fileSeparator);
 114 
        end
< 0.001 
   1635 
 115
    else 
  0.030 
   1635 
 116
        f = addTrailingFileSep(f,fileSeparator); 
< 0.001 
   1635 
 117
    end 
< 0.001 
   1635 
 118
end 

Other subfunctions in this file are not included in this listing.