runtimestats

package
v0.0.0-...-37fe1c2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 11 Imported by: 4

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) PushPerfEvent

func (r *Runner) PushPerfEvent(event keybase1.PerfEvent)

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