This is a static copy of a profile report

Home

Function details for run_admm>print_admmThis is a static copy of a profile report

Home

run_admm>print_admm (Calls: 14190, Time: 0.176 s)
Generated 20-Jul-2018 02:24:59 using performance time.
subfunction in file C:\Users\yz\Dropbox\Workspace\Researches\PhD Research\My Papers\2018_symmtry_reduction\18groupsymmetrySDPSlaterHaoRenata.d\codesgroupsymmetrySDPSlaterHaoRenata.d\admm\run_admm.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
run_admmfunction14190
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
197
iter,fvals,p_res,d_res,Rdiff,x...
1420.062 s35.4%
195
if mod(iter,100)==0 || flag ==...
141900.021 s11.8%
191
fprintf('iter \t     obj \t   ...
10.019 s11.0%
200
end
141900.009 s5.0%
190
if iter == 1
141900.006 s3.4%
All other lines  0.059 s33.5%
Totals  0.176 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function14
Non-code lines (comments, blank lines)6
Code lines (lines that can run)8
Code lines that did run8
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 187 
function print_admm(iter, fvals, p_res,d_res,Rdiff, xdiff, flag)
 188 

 189 

  0.006 
  14190 
 190
if iter == 1 
  0.019 
      1 
 191
    fprintf('iter \t     obj \t     p-res \t          d_res \t       Rdiff \t       xdiff \n') 
< 0.001 
      1 
 192
end 
 193 

 194 
% print the information every 100 iteration or  flag = 1 for last iteration
  0.021 
  14190 
 195
if mod(iter,100)==0 || flag == 1 
  0.062 
    142 
 196
    fprintf('%i \t %8.7g \t %12.5e \t %12.5e \t %12.5e \t %12.5e  \n',... 
    142 
 197
        iter,fvals,p_res,d_res,Rdiff,xdiff) 
< 0.001 
    142 
 198
end 
 199 

  0.009 
  14190 
 200
end 

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