Documentation ¶
Overview ¶
Package runtime provides runtime helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ancestor ¶ added in v0.0.8
Ancestor returns name and package of closest parent function that does not belong to skipped packages.
For example the result could be
myapp/mypackage.MyType.myFunction
func CallerFunc ¶
CallerFunc returns trimmed path and name of parent function.
func StableHeapInUse ¶ added in v0.0.2
func StableHeapInUse() int64
StableHeapInUse returns the stable size of used heap in bytes.
Heap is considered stable if it changes for less than 10KB between measurements.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.