cpu

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUSampler

type CPUSampler struct {
	samplers.Samplers
	// contains filtered or unexported fields
}

func New

func New(s *plugins.Connection, name string, group string) (*CPUSampler, error)

func (*CPUSampler) DoSample

func (p *CPUSampler) DoSample() (err error)

DoSample is the entry point for the example CPU sampler

func (*CPUSampler) InitSampler

func (p *CPUSampler) InitSampler() (err error)

Jump to

Keyboard shortcuts

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