runtimestats

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: BSD-3-Clause, BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProcessStats

GetProcessStats gets CPU and memory stats for the running process.

Types

type Runner

type Runner struct {
	globals.Contextified
	sync.Mutex
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(g *globals.Context) *Runner

func (*Runner) Start

func (r *Runner) Start(ctx context.Context)

func (*Runner) Stop

func (r *Runner) Stop(ctx context.Context) chan struct{}

Jump to

Keyboard shortcuts

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