entity

package
v1.2.27 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 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 Batch

type Batch struct {
	Start, End time.Time
	Profiles   []*Profile
}

batch is a collection of profiles of different types, collected at roughly the same time. It maps to what the dotpe UI calls a profile.

func (*Batch) AddProfile

func (b *Batch) AddProfile(p *Profile)

type Profile

type Profile struct {
	// name indicates profile type and format (e.g. cpu.pprof, metrics.json)
	Name string
	Data []byte
}

profile specifies a profiles data (gzipped protobuf, json), and the types contained within it.

Jump to

Keyboard shortcuts

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