This is a static copy of a profile report

Home

pathsep (Calls: 1950, Time: 0.023 s)
Generated 16-Jul-2020 17:08:26 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
genpathfunction1935
general/private/catdirsfunction5
general/private/parsedirsfunction10
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
persistent ps;
19500.009 s38.5%
19
p = ps;
19500.002 s9.2%
12
if isempty(ps)
19500.001 s4.6%
18
end
19500.000 s1.0%
All other lines  0.011 s46.7%
Totals  0.023 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.009 
   1950 
  11
persistent ps; 
  0.001 
   1950 
  12
if isempty(ps) 
  13 
    if ispc
  14 
        ps = ';';
  15 
    else  % isunix
  16 
        ps = ':';
  17 
    end
< 0.001 
   1950 
  18
end 
  0.002 
   1950 
  19
p = ps; 

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