This is a static copy of a profile report

Home

isMOTW (Calls: 4, Time: 0.009 s)
Generated 16-Jul-2020 17:08:39 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/toolstrip/+matlab/+ui/+internal/+desktop/isMOTW.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
webGraphicsStateManagerfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
8
flag = strcmp(mls.internal.fea...
40.008 s90.0%
12
warning(status);
40.000 s4.3%
5
status = warning('query');
40.000 s3.9%
7
try
40.000 s0.0%
11
end
40.000 s0.0%
All other lines  0.000 s1.8%
Totals  0.009 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
featurefunction40.008 s84.5%
Self time (built-ins, overhead, etc.)  0.001 s15.5%
Totals  0.009 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)5
Code lines (lines that can run)7
Code lines that did run5
Code lines that did not run2
Coverage (did run/can run)71.43 %
Function listing
time 
Calls 
 line
   1 
function flag = isMOTW()
   2 
% isMOTW returns true if MATLAB session is in the MATLAB Online mode
   3 

   4 
% must store warning status for reset afterwards
< 0.001 
      4 
   5
status = warning('query'); 
   6 
% must use catch because connector might not be on
< 0.001 
      4 
   7
try 
  0.008 
      4 
   8
    flag = strcmp(mls.internal.feature('graphicsAndGuis','status'),'on'); 
   9 
catch
  10 
    flag = false;
< 0.001 
      4 
  11
end 
< 0.001 
      4 
  12
warning(status); 

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