This is a static copy of a profile report

Home

ismac (Calls: 12, Time: 0.001 s)
Generated 16-Jul-2020 17:09:32 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/general/ismac.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...t;PositionUtils.getPlatformPixelUnitsclass method12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
persistent macRes;
120.000 s33.0%
13
result = macRes;
120.000 s19.9%
10
if isempty(macRes)
120.000 s19.5%
12
end
120.000 s0.2%
All other lines  0.000 s27.5%
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 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 = ismac
   2 
%ISMAC True for the Mac OS X version of MATLAB.
   3 
%   ISMAC returns 1 for MAC (Macintosh) versions of MATLAB and 0 otherwise.
   4 
%
   5 
%   See also COMPUTER, ISUNIX.
   6 

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

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

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