[mlpack-git] master: Add note about runtime_error exception (01f5c60)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Nov 19 11:34:48 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/713fa60a06f709bc715c4dd88f6ba585796f73a0...319205b2f3103187c584db302b1a3683aa2fbfdf
>---------------------------------------------------------------
commit 01f5c601879fb200854093d4a78a7a8b65edd77a
Author: Grzegorz Krajewski <krajekg at gmail.com>
Date: Tue Nov 17 22:44:12 2015 +0100
Add note about runtime_error exception
>---------------------------------------------------------------
01f5c601879fb200854093d4a78a7a8b65edd77a
doc/guide/timer.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/guide/timer.hpp b/doc/guide/timer.hpp
index 82e4669..9d606e8 100644
--- a/doc/guide/timer.hpp
+++ b/doc/guide/timer.hpp
@@ -30,7 +30,8 @@ timeval Timer::Get(const char* name);
Each timer is given a name, and is referenced by that name. You can call \c
Timer::Start() and \c Timer::Stop() multiple times for a particular timer name,
and the result will be the sum of the runs of the timer. Note that \c
-Timer::Stop() must be called before \c Timer::Start() is called again.
+Timer::Stop() must be called before \c Timer::Start() is called again,
+otherwise runtime_error exception will occur.
A "total_time" timer is run by default for each MLPACK program.
More information about the mlpack-git
mailing list