We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f4abbb commit 1a742f0Copy full SHA for 1a742f0
internal/fasttime/fasttime.go
@@ -11,8 +11,9 @@ import (
11
//go:linkname now time.now
12
func now() (sec int64, nsec int32, mono int64)
13
14
-// Now returns a monotonic clock value. The actual value will differ across
15
-// systems, but that's okay because we generally only care about the deltas.
+// Now returns a monotonic and wall clock value. The actual value will differ
+// across systems, but that's okay because we generally only care about the
16
+// deltas.
17
func Now() uint64 {
18
sec, nsec, _ := now()
19
return uint64(sec)*1e9 + uint64(nsec)
0 commit comments