equal
deleted
inserted
replaced
309 Timer(bool run=true) :_running(run) {_reset();} |
309 Timer(bool run=true) :_running(run) {_reset();} |
310 |
310 |
311 ///\name Control the state of the timer |
311 ///\name Control the state of the timer |
312 ///Basically a Timer can be either running or stopped, |
312 ///Basically a Timer can be either running or stopped, |
313 ///but it provides a bit finer control on the execution. |
313 ///but it provides a bit finer control on the execution. |
314 ///The \ref lemon::Timer "Timer" also counts the number of |
314 ///The \ref lemon::Timer "Timer" also counts the number of |
315 ///\ref lemon::Timer::start() "start()" executions, and it stops |
315 ///\ref lemon::Timer::start() "start()" executions, and it stops |
316 ///only after the same amount (or more) \ref lemon::Timer::stop() |
316 ///only after the same amount (or more) \ref lemon::Timer::stop() |
317 ///"stop()"s. This can be useful e.g. to compute the running time |
317 ///"stop()"s. This can be useful e.g. to compute the running time |
318 ///of recursive functions. |
318 ///of recursive functions. |
319 |
319 |
320 ///@{ |
320 ///@{ |