fix: use clock instead of timeofday

This commit is contained in:
2026-05-16 17:56:51 +02:00
parent 988cf799b4
commit 3b6d4d642d
4 changed files with 12 additions and 21 deletions
+1 -1
View File
@@ -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;