[mlpack-git] [mlpack] Add exception for starting & stopping given timer (#472)
Grzegorz Krajewski
notifications at github.com
Tue Nov 17 17:16:27 EST 2015
Runtime error exception will occur if a <b>Timer::Start</b> or <b>Timer::Stop</b> will be called twice.
You can view, comment on, or merge this pull request online at:
https://github.com/mlpack/mlpack/pull/472
-- Commit Summary --
* Add note about runtime_error exception
* Add test for twice start/stop timer
* Add changes for runtime_error exception.
* Throw a runtime_error exception for start/stop
* Change contributors list
-- File Changes --
M doc/guide/timer.hpp (3)
M src/mlpack/core.hpp (1)
M src/mlpack/core/util/timers.cpp (22)
M src/mlpack/core/util/timers.hpp (7)
M src/mlpack/tests/cli_test.cpp (14)
-- Patch Links --
https://github.com/mlpack/mlpack/pull/472.patch
https://github.com/mlpack/mlpack/pull/472.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/472
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20151117/ec84b814/attachment.html>
More information about the mlpack-git
mailing list