perfstats

package
v0.0.0-...-e05d22d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package perfstats is a single place where we record the performance of various operations, so that it's easy to compare different solutions and the performance of different hardware.

Index

Constants

This section is empty.

Variables

View Source
var Stats = PerfStats{}

Functions

func Add

func Add(stat *atomic.Uint64, delta int64) int64

func UpdateMovingAverage

func UpdateMovingAverage(stat *atomic.Int64, value int64)

Types

type PerfStats

type PerfStats struct {
	YUV420ToRGB_NanosecondsPerKibiPixel atomic.Int64
}

func (*PerfStats) String

func (s *PerfStats) String() string

Jump to

Keyboard shortcuts

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