This is a static copy of a profile report Home
Function details for fullfile>ensureTrailingFilesep This is a static copy of a profile report Home
fullfile>ensureTrailingFilesep (Calls: 1933, Time: 0.037 s) Generated 02-May-2020 21:54:21 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 Name Function Type Calls fullfile function 1933
Lines where the most time was spent
Line Number Code Calls Total Time % Time Time Plot 116 f = addTrailingFileSep(f,fileS... 1933 0.029 s 78.5% 118 end 1933 0.001 s 2.0% 111 if iscell(f) 1933 0.000 s 1.2% 115 else 1933 0.000 s 0.8% 117 end 1933 0.000 s 0.7% All other lines 0.006 s 16.9% Totals 0.037 s 100%
Children (called functions)
Function Name Function Type Calls Total Time % Time Time Plot fullfile>addTrailingFileSep subfunction 1933 0.023 s 61.8% Self time (built-ins, overhead, etc.) 0.014 s 38.2% Totals 0.037 s 100%
Code Analyzer results No Code Analyzer messages.
Coverage results Show coverage for parent directoryTotal 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 110 function f = ensureTrailingFilesep(f,fileSeparator) < 0.001 1933 111 if iscell(f) 112 for i=1:numel(f) 113 f{i} = addTrailingFileSep(f{i},fileSeparator); 114 end < 0.001 1933 115 else 0.029 1933 116 f = addTrailingFileSep (f,fileSeparator); < 0.001 1933 117 end < 0.001 1933 118 end
Other subfunctions in this file are not included in this listing.