[mlpack-svn] r10315 - mlpack/trunk/src/mlpack/core/io

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Nov 17 13:06:41 EST 2011


Author: mamidon
Date: 2011-11-17 13:06:41 -0500 (Thu, 17 Nov 2011)
New Revision: 10315

Modified:
   mlpack/trunk/src/mlpack/core/io/cli.cpp
Log:
What is wrong w/ my svn?



Modified: mlpack/trunk/src/mlpack/core/io/cli.cpp
===================================================================
--- mlpack/trunk/src/mlpack/core/io/cli.cpp	2011-11-17 17:50:29 UTC (rev 10314)
+++ mlpack/trunk/src/mlpack/core/io/cli.cpp	2011-11-17 18:06:41 UTC (rev 10315)
@@ -62,7 +62,7 @@
 
 CLI::~CLI() {
   // Terminate the program timer.
-  Timers::StopTimer("total_time");
+  Timers::Stop("total_time");
 
   // Did the user ask for verbose output?  If so we need to print everything.
   // But only if the user did not ask for help or info.
@@ -75,7 +75,7 @@
     std::map<std::string, timeval>::iterator iter;
     for(iter = times.begin(); iter != times.end(); iter++) {
       Log::Info << iter->first << " -- ";
-      Timers::PrintTimer(iter->first.c_str());
+      Timers::Print(iter->first.c_str()); 
     }
   }
 
@@ -297,7 +297,7 @@
   DefaultMessages();
   RequiredOptions();
 
-  Timers::StartTimer("total_time");
+  Timers::Start("total_time");
 }
 
 /*
@@ -322,7 +322,7 @@
   DefaultMessages();
   RequiredOptions();
 
-  Timers::StartTimer("total_time");
+  Timers::Start("total_time");
 }
 
 /*
@@ -424,7 +424,7 @@
   std::string str = *iter;
   if (!vmap.count(str)) 
   {// If a required option isn't there...
-    Timers::StopTimer("total_time"); //Execution stop here, pretty much.
+    Timers::Stop("total_time"); //Execution stop here, pretty much.
     Log::Fatal << "Required option --" << str.c_str() << " is undefined." 
       << std::endl;
   }




More information about the mlpack-svn mailing list