package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

NewCalibratedClock creates a CalibratedClock that tracks the given ClockID.
NewCalibratedClocks creates a CalibratedClocks.
Rdtsc reads the TSC.
SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race with any writer critical sections in seq.
SeqAtomicTryLoad returns a copy of *ptr while in a reader critical section in seq initiated by a call to seq.BeginRead() that returned epoch.

# Constants

ApproxUpdateInterval is the approximate interval that parameters should be updated at.
MaxClockError is the maximum amount of error that the clocks will try to correct.
These are the supported Linux clock identifiers.
These are the supported Linux clock identifiers.

# Structs

CalibratedClock implements a clock that tracks a reference clock.
CalibratedClocks contains calibrated monotonic and realtime clocks.
Parameters are the timekeeping parameters needed to compute the current time.

# Interfaces

Clocks represents a clock source that contains both a monotonic and realtime clock.

# Type aliases

ClockID is a Linux clock identifier.
ReferenceNS are nanoseconds in the reference clock domain.
TSCValue is a value from the TSC.