From 4d4ca2f3bd87efaca572378e107f92dda2c57eb2 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Fri, 29 May 2020 17:43:37 +0200 Subject: [PATCH] doc fix for stopwatch --- timemanager/Stopwatch.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/timemanager/Stopwatch.h b/timemanager/Stopwatch.h index c57200b0..71580778 100644 --- a/timemanager/Stopwatch.h +++ b/timemanager/Stopwatch.h @@ -13,7 +13,7 @@ enum class StopwatchDisplayMode { * This class can be used to measure elapsed times. It also displays elapsed * times automatically on destruction if not explicitely deactivated in the * constructor. The default time format is the elapsed time in miliseconds - * as a float. + * in seconds as a double. * @author R. Mueller */ class Stopwatch { @@ -41,6 +41,10 @@ public: * @return elapsed time in milliseconds (rounded) */ millis_t stop(); + /** + * Calculates the elapsed time since start and returns it + * @return elapsed time in seconds (double precision) + */ seconds_t stopSeconds(); /**