clock typedefs renamed

This commit is contained in:
Robin Müller 2020-06-06 23:21:51 +02:00
parent 70212d9f4e
commit 9ed92e5e6f
1 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,9 @@
#include <cstdint>
#include <sys/time.h>
typedef uint32_t millis_t;
typedef double seconds_t;
//! Don't use these for time points, type is not large enough for UNIX epoch.
typedef uint32_t dur_millis_t;
typedef double dur_seconds_t;
class Clock {
public: