This is a static copy of a profile report

Home

Function details for newton>update_lambdaThis is a static copy of a profile report

Home

newton>update_lambda (Calls: 5, Time: 0.003 s)
Generated 19-Jun-2021 04:39:11 using performance time.
subfunction in file /nfs/inm_phd/07/d07944009/2021/0618-proj6/simpleNN/MATLAB/opt/newton.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
newtonfunction5
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
64
param.lambda = param.lambda * ...
50.001 s35.5%
63
elseif (phik >= 0.75)
50.000 s10.7%
61
if (phik < 0.25)
50.000 s7.9%
60
phik = actred/prered;
50.000 s7.9%
65
end
50.000 s4.1%
All other lines  0.001 s34.0%
Totals  0.003 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function8
Non-code lines (comments, blank lines)2
Code lines (lines that can run)6
Code lines that did run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
  58 
function param = update_lambda(param, actred, prered)
  59 

< 0.001 
      5 
  60
phik = actred/prered; 
< 0.001 
      5 
  61
if (phik < 0.25) 
  62 
	param.lambda = param.lambda * param.boost;
< 0.001 
      5 
  63
elseif (phik >= 0.75) 
< 0.001 
      5 
  64
	param.lambda = param.lambda * param.drop; 
< 0.001 
      5 
  65
end 

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