internal

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeMemProf

func MaybeMemProf(params MaybeMemProfParams) error

func MemPoll

func MemPoll(params MemPollParams) error

func RandBytesMaskImprSrc

func RandBytesMaskImprSrc(n int) []byte

Types

type MaybeMemProfParams

type MaybeMemProfParams struct {
	MemStats   *runtime.MemStats
	MinMB      MinProfMB
	DestDir    string
	NamePrefix string
}

type MemPollParams

type MemPollParams struct {
	PollMs    uint
	LoopLogMs uint
	MinMBs    []MinProfMB
	Logger    *zap.Logger
}

type MinProfMB

type MinProfMB struct {
	Alloc   uint64
	HeapSys uint64
}

Jump to

Keyboard shortcuts

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