package time

import "crypto/internal/fips140deps/time"

Index

Functions

func HighPrecisionNow

func HighPrecisionNow() int64

HighPrecisionNow returns a high-resolution timestamp suitable for measuring small time differences. It uses the time package's monotonic clock.

Its unit, epoch, and resolution are unspecified, and may change, but can be assumed to be sufficiently precise to measure time differences on the order of tens to hundreds of nanoseconds.

Source Files

time.go

Version
v1.26.2 (latest)
Published
Mar 27, 2026
Platform
linux/amd64
Imports
1 packages
Last checked
2 seconds ago

Tools for package owners.