From e4ef9bfe7bb378edace65fe417006403f1a6d838 Mon Sep 17 00:00:00 2001 From: knopers8 Date: Wed, 12 Feb 2020 14:01:04 +0100 Subject: [PATCH] Fix Timer's documentation about return values (#33) --- include/Common/Timer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/Common/Timer.h b/include/Common/Timer.h index dfca121..7e272f8 100644 --- a/include/Common/Timer.h +++ b/include/Common/Timer.h @@ -39,11 +39,11 @@ class Timer { /// Check if time elapsed since timer reset (or last increment set) is bigger than timeout value set. /// \return Returns 1 if timeout, 0 otherwise. int isTimeout(); - - /// \return Returns time elapsed since reset, in microseconds. - double getTime(); - /// \return Returns the time until next timeout, in microseconds. This may be a negative value if timeout occured already. + /// \return Returns time elapsed since reset, in seconds. + double getTime(); + + /// \return Returns the time until next timeout, in seconds. This may be a negative value if timeout occured already. double getRemainingTime(); private: