This is a static copy of a profile report

Home

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

Home

run_admm>proj_psd (Calls: 85134, Time: 275.476 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_admmfunction85134
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
221
[V,D] = eig(M);
85134221.743 s80.5%
230
M_plus = V(:,IND)*D(IND,IND)*V...
8513444.620 s16.2%
231
M_plus = (M_plus+M_plus')/2;
851347.104 s2.6%
222
IND =  find(diag(D) > 1e-5)...
851340.704 s0.3%
232
end
851340.548 s0.2%
All other lines  0.757 s0.3%
Totals  275.476 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)9
Code lines (lines that can run)5
Code lines that did run5
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 219 
function M_plus = proj_psd(M)
 220 

 221.743 
  85134 
 221
[V,D] = eig(M); 
  0.704 
  85134 
 222
IND =  find(diag(D) > 1e-5); 
 223 
%%%%%%%%%%%%%added test temporary!!!
 224 
%%if length(M)>10
 225 
%%	IND=[length(M)-1 length(M)];
 226 
%%elseif length(M)<10
 227 
%%	IND=length(M);
 228 
%%end
 229 
%%%%%%%%%%%%%added test temporary!!!
 44.620 
  85134 
 230
M_plus = V(:,IND)*D(IND,IND)*V(:,IND)'; 
  7.104 
  85134 
 231
M_plus = (M_plus+M_plus')/2; 
  0.548 
  85134 
 232
end