profiler

package module
v0.0.0-...-beb2b4a Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

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

func (*Profile) GetElapsedTime

func (p *Profile) GetElapsedTime() time.Duration

func (*Profile) GetName

func (p *Profile) GetName() string

type Profiler

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

func CreateProfiler

func CreateProfiler() *Profiler

func (*Profiler) GetAllProfiles

func (p *Profiler) GetAllProfiles() []*Profile

func (*Profiler) GetProfile

func (p *Profiler) GetProfile(profileName string) *Profile

func (*Profiler) Start

func (p *Profiler) Start(profileName string)

func (*Profiler) Stop

func (p *Profiler) Stop(profileName string)

Jump to

Keyboard shortcuts

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