changeset 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 c54e7f2b39d5 e829f7ef8418 6fa65aec8742 013a5819996b edf4ff7b6790
files examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsRLSDLA.m util/SMALL_learn.m util/SMALL_solve.m
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsRLSDLA.m	Tue Apr 05 17:03:26 2011 +0100
+++ b/examples/Image Denoising/SMALL_ImgDenoise_DL_test_KSVDvsRLSDLA.m	Mon Apr 11 16:44:31 2011 +0100
@@ -206,7 +206,7 @@
     'dictsize', SMALL.Problem.p,...
     'forgettingMode', 'FIX',...
     'forgettingFactor', lambda,...
-    'show_dict', 500);
+    'show_dict', 1000);
 
 
 SMALL.DL(3) = SMALL_learn(SMALL.Problem, SMALL.DL(3));
--- a/util/SMALL_learn.m	Tue Apr 05 17:03:26 2011 +0100
+++ b/util/SMALL_learn.m	Mon Apr 11 16:44:31 2011 +0100
@@ -95,8 +95,8 @@
 %   Dictionary Learning time
 tElapsed=toc(tStart);
   DL.time = cputime - start;
-  fprintf('\n%s finished task in %2f seconds. \n', DL.name, DL.time);
-  fprintf('\n%s finished task in %2f seconds. \n', DL.name, tElapsed);
+  fprintf('\n%s finished task in %2f seconds (cpu time). \n', DL.name, DL.time);
+  fprintf('\n%s finished task in %2f seconds (tic-toc time). \n', DL.name, tElapsed);
 DL.time=tElapsed;
 %   If dictionary is given as a sparse matrix change it to full  
 
--- a/util/SMALL_solve.m	Tue Apr 05 17:03:26 2011 +0100
+++ b/util/SMALL_solve.m	Mon Apr 11 16:44:31 2011 +0100
@@ -93,8 +93,8 @@
 %   Sparse representation time
 tElapsed=toc(tStart);
 solver.time = cputime - start;
-fprintf('Solver %s finished task in %2f seconds. \n', solver.name, solver.time);
-fprintf('Solver %s finished task in %2f seconds. \n', solver.name, tElapsed);
+fprintf('Solver %s finished task in %2f seconds (cpu time). \n', solver.name, solver.time);
+fprintf('Solver %s finished task in %2f seconds (tic-toc time). \n', solver.name, tElapsed);
 solver.time=tElapsed;
 % geting around out of memory problem when converting big matrix from
 % sparse to full...