This is a static copy of a profile report

Home

ispc (Calls: 202, Time: 0.002 s)
Generated 16-Jul-2020 17:08:31 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
pathfunction10
filepartsfunction36
printoptfunction48
printtables>localBuildOptionssubfunction36
printing/private/getDefaultDeviceListfunction48
printing/private/postProcessPrinttablesfunction24
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
persistent pcRes;
2020.001 s43.4%
10
if isempty(pcRes)
2020.000 s10.8%
13
result = pcRes;
2020.000 s10.3%
12
end
2020.000 s0.5%
All other lines  0.001 s34.9%
Totals  0.002 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.001 
    202 
   9
persistent pcRes; 
< 0.001 
    202 
  10
if isempty(pcRes) 
  11 
    pcRes = startsWith(computer, 'PC');
< 0.001 
    202 
  12
end 
< 0.001 
    202 
  13
result = pcRes; 

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