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: 951, Time: 0.020 s)
Generated 01-May-2020 08:41:15 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
fullfilefunction951
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
116
f = addTrailingFileSep(f,fileS...
9510.016 s78.3%
118
end
9510.000 s1.7%
111
if iscell(f)
9510.000 s1.0%
115
else
9510.000 s0.8%
117
end
9510.000 s0.7%
All other lines  0.004 s17.4%
Totals  0.020 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
fullfile>addTrailingFileSepsubfunction9510.013 s62.6%
Self time (built-ins, overhead, etc.)  0.008 s37.4%
Totals  0.020 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 
    951 
 111
    if iscell(f) 
 112 
        for i=1:numel(f)
 113 
            f{i} = addTrailingFileSep(f{i},fileSeparator);
 114 
        end
< 0.001 
    951 
 115
    else 
  0.016 
    951 
 116
        f = addTrailingFileSep(f,fileSeparator); 
< 0.001 
    951 
 117
    end 
< 0.001 
    951 
 118
end 

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