internal

package
v0.0.0-...-d6eaca8 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromTS

func FromTS(ts, clockRate uint64) time.Duration

FromTS converts a tick timestamp to a duration

func ToTS

func ToTS(t time.Duration, clockRate uint64) uint64

ToTS converts a duration to a number of clock ticks at a rate of clockRate

Types

This section is empty.

Jump to

Keyboard shortcuts

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