comparison util/SMALL_solve.m @ 86:f6cc633fd94b

cpu/tic-toc time comments
author Maria Jafari <maria.jafari@eecs.qmul.ac.uk>
date Mon, 11 Apr 2011 16:44:31 +0100
parents fd1c32cda22c
children 8e660fd14774
comparison
equal deleted inserted replaced
85:fd1c32cda22c 86:f6cc633fd94b
91 91
92 %% 92 %%
93 % Sparse representation time 93 % Sparse representation time
94 tElapsed=toc(tStart); 94 tElapsed=toc(tStart);
95 solver.time = cputime - start; 95 solver.time = cputime - start;
96 fprintf('Solver %s finished task in %2f seconds. \n', solver.name, solver.time); 96 fprintf('Solver %s finished task in %2f seconds (cpu time). \n', solver.name, solver.time);
97 fprintf('Solver %s finished task in %2f seconds. \n', solver.name, tElapsed); 97 fprintf('Solver %s finished task in %2f seconds (tic-toc time). \n', solver.name, tElapsed);
98 solver.time=tElapsed; 98 solver.time=tElapsed;
99 % geting around out of memory problem when converting big matrix from 99 % geting around out of memory problem when converting big matrix from
100 % sparse to full... 100 % sparse to full...
101 101
102 if isfield(Problem, 'sparse')&&(Problem.sparse==1) 102 if isfield(Problem, 'sparse')&&(Problem.sparse==1)