profiler

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiler

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

func NewProfiler

func NewProfiler(file *os.File, logopt log.Options, opts *options.Options) *Profiler

func (*Profiler) OpenPosFile

func (p *Profiler) OpenPosFile(filename string) (*os.File, error)

func (*Profiler) Profile

func (p *Profiler) Profile(qstats *stats.QueryStats) error

func (*Profiler) ReadBytes

func (p *Profiler) ReadBytes() int64

func (*Profiler) ReadPosFile

func (p *Profiler) ReadPosFile(f *os.File) (int64, error)

func (*Profiler) Seek

func (p *Profiler) Seek(file *os.File, n int64) error

func (*Profiler) SetReadBytes

func (p *Profiler) SetReadBytes(n int64)

Jump to

Keyboard shortcuts

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