This is a static copy of a profile report Home
Function details for fullfile>addTrailingFileSep This is a static copy of a profile report Home
fullfile>addTrailingFileSep (Calls: 1308, Time: 0.020 s) Generated 28-Jun-2020 10:10:17 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)
Lines where the most time was spent
Line Number Code Calls Total Time % Time Time Plot 126 str = [str, fileSeparator]; 1280 0.006 s 30.2% 125 if ~isempty(str) && (s... 1308 0.004 s 20.7% 121 persistent bIsPC 1308 0.004 s 18.7% 128 end 1308 0.001 s 5.4% 122 if isempty (bIsPC) 1308 0.001 s 4.1% All other lines 0.004 s 20.8% Totals 0.020 s 100%
Children (called functions) No children
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 6 Code lines that did not run 2 Coverage (did run/can run) 75.00 %
Function listing time Calls line 120 function str = addTrailingFileSep(str, fileSeparator) 0.004 1308 121 persistent bIsPC < 0.001 1308 122 if isempty (bIsPC) 123 bIsPC = ispc; 124 end 0.004 1308 125 if ~isempty(str) && (str(end) ~= fileSeparator && ~(bIsPC && str(end) == '/')) 0.006 1280 126 str = [str, fileSeparator]; < 0.001 1280 127 end 0.001 1308 128 end
Other subfunctions in this file are not included in this listing.