Skip to content

Commit

Permalink
Fix comment (#45)
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
sethvargo committed Mar 25, 2024
1 parent 1f4abbb commit 1a742f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/fasttime/fasttime.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
//go:linkname now time.now
func now() (sec int64, nsec int32, mono int64)

// Now returns a monotonic clock value. The actual value will differ across
// 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
// deltas.
func Now() uint64 {
sec, nsec, _ := now()
return uint64(sec)*1e9 + uint64(nsec)
Expand Down

0 comments on commit 1a742f0

Please sign in to comment.