profiler

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global = NewProfiler()

Functions

This section is empty.

Types

type Profiler

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

func NewProfiler

func NewProfiler() Profiler

func (*Profiler) CustomTimeLine

func (f *Profiler) CustomTimeLine(name string) *TimeLine

func (*Profiler) MainTimeLine

func (f *Profiler) MainTimeLine() *TimeLine

type TimeLine

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

func NewTimeLine

func NewTimeLine() *TimeLine

func (*TimeLine) Duration

func (p *TimeLine) Duration() time.Duration

func (*TimeLine) IsEmpty

func (t *TimeLine) IsEmpty() bool

func (*TimeLine) SetPoint

func (t *TimeLine) SetPoint(name string)

func (*TimeLine) Start

func (t *TimeLine) Start()

type TimePoint

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

func (*TimePoint) Duration

func (p *TimePoint) Duration() time.Duration

Jump to

Keyboard shortcuts

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