This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -15,7 +15,7 @@ void gettimespec(struct timespec *t)
if (!t)
return;
clock_gettime(CLOCK_MONOTONIC, t);
clock_gettime(CLOCK_REALTIME, t);
}
float timespec_diff(struct timespec *start, struct timespec *end)