metering

package
v0.0.0-...-4fa2157 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MonoToEpoch

func MonoToEpoch(t int64) int64

MonoToEpoch converts monotonic time nanos to unix epoch time nanos.

func Monotime

func Monotime() int64

func TimeToMono

func TimeToMono(t time.Time) int64

Types

type ExtensionsResetDurationProfiler

type ExtensionsResetDurationProfiler struct {
	NumAgentsRegisteredForShutdown int
	AvailableNs                    int64
	// contains filtered or unexported fields
}

func (*ExtensionsResetDurationProfiler) CalculateExtensionsResetMs

func (p *ExtensionsResetDurationProfiler) CalculateExtensionsResetMs() (int64, bool)

func (*ExtensionsResetDurationProfiler) Start

func (*ExtensionsResetDurationProfiler) Stop

Jump to

Keyboard shortcuts

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