Skip to content

Commit e4ef9bf

Browse files
authored
Fix Timer's documentation about return values (#33)
1 parent 1463358 commit e4ef9bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

include/Common/Timer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ class Timer {
3939
/// Check if time elapsed since timer reset (or last increment set) is bigger than timeout value set.
4040
/// \return Returns 1 if timeout, 0 otherwise.
4141
int isTimeout();
42-
43-
/// \return Returns time elapsed since reset, in microseconds.
44-
double getTime();
4542

46-
/// \return Returns the time until next timeout, in microseconds. This may be a negative value if timeout occured already.
43+
/// \return Returns time elapsed since reset, in seconds.
44+
double getTime();
45+
46+
/// \return Returns the time until next timeout, in seconds. This may be a negative value if timeout occured already.
4747
double getRemainingTime();
4848

4949
private:

0 commit comments

Comments
 (0)