Skip to content

Commit 06db1ec

Browse files
committed
fix(stats): fixed cputime on linux
1 parent 277a2ab commit 06db1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lazy/stats.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function M.cputime()
4444
} nanotime;
4545
int clock_gettime(clockid_t clk_id, struct timespec *tp);
4646
]])
47-
if M.C.clock_gettime then
47+
if ffi.C.clock_gettime then
4848
M.C = ffi.C
4949
end
5050
end)

0 commit comments

Comments
 (0)