carbonzipper: Index | Files

package mstats

import ""


Package Files


func Start Uses

func Start(d time.Duration)

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

type Var Uses

type Var struct {

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 Uses

func (a *Var) String() string

Package mstats imports 4 packages (graph) and is imported by 6 packages. Updated 2017-04-10. Refresh now. Tools for package owners.