lemon/time_measure.h
changeset 655 c706534d4740
parent 548 94387da47f79
child 786 e20173729589
equal deleted inserted replaced
17:1220bc45d43f 18:4614dfbc868b
   285 
   285 
   286     ///\param run indicates whether or not the timer starts immediately.
   286     ///\param run indicates whether or not the timer starts immediately.
   287     ///
   287     ///
   288     Timer(bool run=true) :_running(run) {_reset();}
   288     Timer(bool run=true) :_running(run) {_reset();}
   289 
   289 
   290     ///\name Control the state of the timer
   290     ///\name Control the State of the Timer
   291     ///Basically a Timer can be either running or stopped,
   291     ///Basically a Timer can be either running or stopped,
   292     ///but it provides a bit finer control on the execution.
   292     ///but it provides a bit finer control on the execution.
   293     ///The \ref lemon::Timer "Timer" also counts the number of
   293     ///The \ref lemon::Timer "Timer" also counts the number of
   294     ///\ref lemon::Timer::start() "start()" executions, and it stops
   294     ///\ref lemon::Timer::start() "start()" executions, and it stops
   295     ///only after the same amount (or more) \ref lemon::Timer::stop()
   295     ///only after the same amount (or more) \ref lemon::Timer::stop()
   393       start();
   393       start();
   394     }
   394     }
   395 
   395 
   396     ///@}
   396     ///@}
   397 
   397 
   398     ///\name Query Functions for the ellapsed time
   398     ///\name Query Functions for the Ellapsed Time
   399 
   399 
   400     ///@{
   400     ///@{
   401 
   401 
   402     ///Gives back the ellapsed user time of the process
   402     ///Gives back the ellapsed user time of the process
   403     double userTime() const
   403     double userTime() const