time

package standard library
go1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL