metrics

package
v0.0.0-...-5a5d905 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	Mu            sync.Mutex
	Frametime     float32
	FPS           int32
	HeapSize      uint32
	CPUUsage      float32
	GPUUsage      float32
	DrawCalls     uint32
	Latency       float32
	ActiveThreads uint32
	DiskUsage     uint32
	NetworkUsage  uint32
}

func New

func New() *Metrics

func (*Metrics) Update

func (m *Metrics) Update()

Jump to

Keyboard shortcuts

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