mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
s, not ms
This commit is contained in:
parent
5e2735f40b
commit
ce9a41a7c2
1 changed files with 2 additions and 2 deletions
4
src/x.c
4
src/x.c
|
@ -649,8 +649,8 @@ bool x_fence_sync(xcb_connection_t *c, xcb_sync_fence_t f) {
|
||||||
}
|
}
|
||||||
struct timespec ts2 = {0};
|
struct timespec ts2 = {0};
|
||||||
clock_gettime(CLOCK_MONOTONIC, &ts2);
|
clock_gettime(CLOCK_MONOTONIC, &ts2);
|
||||||
log_warn("x_fence_sync: %lf ms", (double)(ts2.tv_sec - ts.tv_sec) +
|
log_warn("x_fence_sync: %lf s", (double)(ts2.tv_sec - ts.tv_sec) +
|
||||||
(double)(ts2.tv_nsec - ts.tv_nsec) / 1e9);
|
(double)(ts2.tv_nsec - ts.tv_nsec) / 1e9);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
|
|
Loading…
Reference in a new issue