fix: use clock instead of timeofday
This commit is contained in:
+1
-1
@@ -279,7 +279,7 @@ typedef struct StateBackgroundWriteArgs {
|
||||
// timer.c
|
||||
|
||||
typedef struct Timer {
|
||||
struct timeval start;
|
||||
clock_t start;
|
||||
unsigned int counter;
|
||||
unsigned int target;
|
||||
} Timer;
|
||||
|
||||
Reference in New Issue
Block a user