This is a static copy of a profile report

Home

pathsep (Calls: 1542, Time: 0.026 s)
Generated 18-Jul-2020 08:10:32 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/iofun/pathsep.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
genpathfunction1524
general/private/catdirsfunction6
general/private/parsedirsfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
persistent ps;
15420.012 s45.4%
19
p = ps;
15420.002 s7.7%
12
if isempty(ps)
15420.001 s5.7%
18
end
15420.000 s1.3%
All other lines  0.011 s39.9%
Totals  0.026 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 p = pathsep
   2 
%PATHSEP Path separator for this platform.
   3 
%   F = PATHSEP returns the path separator character for this platform.
   4 
%   The path separator is the character that separates directories in
   5 
%   the MATLABPATH variable.
   6 
%
   7 
%   See also PATH, FILESEP, FULLFILE.
   8 

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

  0.012 
   1542 
  11
persistent ps; 
  0.001 
   1542 
  12
if isempty(ps) 
  13 
    if ispc
  14 
        ps = ';';
  15 
    else  % isunix
  16 
        ps = ':';
  17 
    end
< 0.001 
   1542 
  18
end 
  0.002 
   1542 
  19
p = ps; 

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