internal

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUUsage

func CPUUsage(b []byte) (float64, error)

CPUUsage takes in a byte array of a GZip-encoded .proto file of a golang runtime CPU Profile and returns the total CPU usage as a float: 1.0 is 100% of 1 core being used

Types

type NotCPUProfile

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

func (NotCPUProfile) Error

func (n NotCPUProfile) Error() string

Jump to

Keyboard shortcuts

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