time-util return uint64_t from gettime_ms()
parent
1e53e5e45e
commit
36f0480038
|
@ -38,7 +38,7 @@ static inline uint64_t gettime_us(void)
|
|||
return timespec_to_us(&ts);
|
||||
}
|
||||
|
||||
static inline uint32_t gettime_ms(void)
|
||||
static inline uint64_t gettime_ms(void)
|
||||
{
|
||||
struct timespec ts = { 0 };
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
|
|
Loading…
Reference in New Issue