This is a static copy of a profile report

Home

getSettingsRoot (12 calls, 0.010 sec)
Generated 14-Nov-2016 07:47:25 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/configtools/+matlab/+internal/getSettingsRoot.m
Copy to new window for comparing multiple runs

Parents (calling functions)
No parent
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
3
persistent settingsRoot
120.010 s100.0%
10
end
120 s0%
9
obj = settingsRoot;
120 s0%
5
if isempty(settingsRoot)
120 s0%
2
mlock;
120 s0%
All other lines  0 s0%
Totals  0.010 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)3
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 obj = getSettingsRoot()
     12 
   2 
    mlock; 
  0.01 
     12 
   3 
    persistent settingsRoot 
   4 

     12 
   5 
    if isempty(settingsRoot) 
   6 
       settingsRoot = matlab.internal.createAndInitSettingsRoot();
   7 
    end
   8 

     12 
   9 
    obj = settingsRoot; 
     12 
  10 
end