stats

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Time   time.Time
	CPU    uint64
	Memory uint64
}

type Tracker

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

func NewTracker

func NewTracker(duration time.Duration) *Tracker

func (*Tracker) Add

func (t *Tracker) Add(entry Entry)

func (*Tracker) Entries

func (t *Tracker) Entries() []Entry

func (*Tracker) LastEntry

func (t *Tracker) LastEntry() Entry

Jump to

Keyboard shortcuts

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