Skip to content

Commit

Permalink
add reference to time_ns in time
Browse files Browse the repository at this point in the history
  • Loading branch information
nlw0 authored Jan 23, 2025
1 parent 88c71dd commit 850302b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/libc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ time(tm::TmStruct) = Float64(ccall(:mktime, Int, (Ref{TmStruct},), tm))
time() -> Float64
Get the system time in seconds since the epoch, with fairly high (typically, microsecond) resolution.
See also [`time_ns`](@ref).
"""
time() = ccall(:jl_clock_now, Float64, ())

Expand Down

0 comments on commit 850302b

Please sign in to comment.