...
Run Format

Package time

import "crypto/internal/fips140deps/time"
Overview
Index

Overview ▾

Index ▾

Package files

time.go

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.