util

package
v0.0.0-...-fc425af Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KB = 1 << 10
	MB = 1 << 20
	GB = 1 << 30
)

Variables

This section is empty.

Functions

func CompareMemStats

func CompareMemStats(first, second *runtime.MemStats)

func CompareMemStatsDiff

func CompareMemStatsDiff(first, second *runtime.MemStats)

func FormatMemStats

func FormatMemStats(msg string, m *runtime.MemStats, f int) []string

func GetMemStats

func GetMemStats() *runtime.MemStats

func PrintMemStats

func PrintMemStats(m *runtime.MemStats)

func PrintMemUsage

func PrintMemUsage()

Types

This section is empty.

Jump to

Keyboard shortcuts

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