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

              Source Files