This is a static copy of a profile report

Home

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 NameFunction TypeCalls
fullfilefunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
118
f = addTrailingFileSep(f,fileS...
40.001 s76.0%
120
end
40.000 s0.1%
119
end
40.000 s0.1%
113
if iscell(f)
40.000 s0.0%
117
else
40.000 s0.0%
All other lines  0.000 s23.8%
Totals  0.001 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
fullfile>addTrailingFileSepsubfunction40.001 s62.8%
Self time (built-ins, overhead, etc.)  0.000 s37.2%
Totals  0.001 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
 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.