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 Windows' QueryPerformanceCounter.

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_windows.go

Version
v1.26.0
Published
Feb 10, 2026
Platform
windows/amd64
Imports
1 packages
Last checked
20 minutes ago

Tools for package owners.