This is a static copy of a profile report

Home

filesep (Calls: 70, Time: 0.001 s)
Generated 16-Jul-2020 17:08:31 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/iofun/filesep.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
general/private/parsedirsfunction10
filepartsfunction36
namefunction24
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
persistent fs;
700.000 s32.1%
19
f = fs;
700.000 s16.7%
12
if isempty(fs)
700.000 s16.4%
18
end
700.000 s1.5%
All other lines  0.000 s33.3%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function19
Non-code lines (comments, blank lines)10
Code lines (lines that can run)9
Code lines that did run4
Code lines that did not run5
Coverage (did run/can run)44.44 %
Function listing
time 
Calls 
 line
   1 
function f = filesep
   2 
%FILESEP Directory separator for this platform.
   3 
%   F = FILESEP returns the file separator character for this platform.
   4 
%   The file separator is the character that separates
   5 
%   directory names in filenames.
   6 
%
   7 
%   See also PATHSEP, FULLFILE.
   8 

   9 
%   Copyright 1984-2003 The MathWorks, Inc.
  10 

< 0.001 
     70 
  11
persistent fs; 
< 0.001 
     70 
  12
if isempty(fs) 
  13 
    if ispc
  14 
        fs = '\';
  15 
    else  % isunix
  16 
        fs = '/';
  17 
    end
< 0.001 
     70 
  18
end 
< 0.001 
     70 
  19
f = fs; 

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