timing

package
v5.9.10 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearTimings

func ClearTimings()

func Report

func Report()

Types

type Timing

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

func TimedComponent

func TimedComponent(component string) *Timing

func (*Timing) Add

func (t *Timing) Add(d time.Duration)

func (*Timing) Get

func (t *Timing) Get() time.Duration

func (*Timing) Invocations

func (t *Timing) Invocations() int32

func (*Timing) Max

func (t *Timing) Max() time.Duration

func (*Timing) Min

func (t *Timing) Min() time.Duration

Jump to

Keyboard shortcuts

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