mstats

package
v0.0.0-...-b9a9d18 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: BSD-2-Clause Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(d time.Duration)

Start polls runtime.ReadMemStats with interval d and updates the package level variables

Types

type Var

type Var struct {
	atomic.Value
}

Var is an atomic variable satisfying expvar.Var

var Alloc Var

Alloc is the number of bytes allocated and not yet freed by the application

var NumGC Var

NumGC is the number of collections

var PauseNS Var

PauseNS is the total number of nanoseconds the GC has paused the application

var TotalAlloc Var

TotalAlloc is the total number of bytes allocated by the application

func (*Var) String

func (a *Var) String() string

Jump to

Keyboard shortcuts

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