doc fix for stopwatch

This commit is contained in:
Robin Müller 2020-05-29 17:43:37 +02:00
parent f13eff79c9
commit 4d4ca2f3bd

View File

@ -13,7 +13,7 @@ enum class StopwatchDisplayMode {
* This class can be used to measure elapsed times. It also displays elapsed * This class can be used to measure elapsed times. It also displays elapsed
* times automatically on destruction if not explicitely deactivated in the * times automatically on destruction if not explicitely deactivated in the
* constructor. The default time format is the elapsed time in miliseconds * constructor. The default time format is the elapsed time in miliseconds
* as a float. * in seconds as a double.
* @author R. Mueller * @author R. Mueller
*/ */
class Stopwatch { class Stopwatch {
@ -41,6 +41,10 @@ public:
* @return elapsed time in milliseconds (rounded) * @return elapsed time in milliseconds (rounded)
*/ */
millis_t stop(); millis_t stop();
/**
* Calculates the elapsed time since start and returns it
* @return elapsed time in seconds (double precision)
*/
seconds_t stopSeconds(); seconds_t stopSeconds();
/** /**