utils

package
v0.0.0-...-32a13a6 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunProfiler

func RunProfiler(cpu, mem string, sleep int)

Types

type Ticker

type Ticker struct {
	// contains filtered or unexported fields
}

func NewTicker

func NewTicker(ticksPerSecond, updatesPerSecond int) *Ticker

func (*Ticker) Float32

func (t *Ticker) Float32() float32

func (*Ticker) Float64

func (t *Ticker) Float64() float64

func (*Ticker) Mod

func (t *Ticker) Mod(f float64) float64

func (*Ticker) Tick

func (t *Ticker) Tick() float64

Jump to

Keyboard shortcuts

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