rt

package
v0.0.0-...-3c8687b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StackFrame

type StackFrame struct {
	File     string
	FullFile string
	Function string
	Line     int
}

StackFrame struct.

func BackTrace

func BackTrace(skip int) []*StackFrame

BackTrace returns info about function invocations on the calling goroutine's stack.

func Caller

func Caller(skip int) *StackFrame

Caller ...

type Stats

type Stats struct {
	Allocated  uint64
	Objects    uint64
	InUse      uint64
	GCTime     uint64
	PauseTotal uint64
}

Stats ...

func GetMemStats

func GetMemStats(runGC bool) Stats

GetMemStats ...

Jump to

Keyboard shortcuts

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