This is a static copy of a profile report

Home

ispc (Calls: 12, Time: 0.004 s)
Generated 18-Jul-2020 08:10:35 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/general/ispc.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
pathfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
persistent pcRes;
120.002 s48.8%
10
if isempty(pcRes)
120.001 s37.0%
13
result = pcRes;
120.000 s6.6%
12
end
120.000 s0.0%
All other lines  0.000 s7.6%
Totals  0.004 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function13
Non-code lines (comments, blank lines)8
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
Coverage (did run/can run)80.00 %
Function listing
time 
Calls 
 line
   1 
function result = ispc
   2 
%ISPC True for the PC (Windows) version of MATLAB.
   3 
%   ISPC returns 1 for PC (Windows) versions of MATLAB and 0 otherwise.
   4 
%
   5 
%   See also COMPUTER, ISUNIX, ISMAC.
   6 

   7 
%   Copyright 1984-2018 The MathWorks, Inc. 
   8 

  0.002 
     12 
   9
persistent pcRes; 
  0.001 
     12 
  10
if isempty(pcRes) 
  11 
    pcRes = startsWith(computer, 'PC');
< 0.001 
     12 
  12
end 
< 0.001 
     12 
  13
result = pcRes; 

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