Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStackTrace ¶
GetStackTrace returns a string containing the unabbreviated value of runtime.Stack(all). Be aware that this function may stop the world multiple times in order to obtain the full trace.
func GetStackTraces ¶
GetStackTraces returns a map of goroutines to string Slice of their respective stack trace.
Types ¶
type SystemStats ¶
type SystemStats struct { // Number of goroutines currently running. NumGoRoutines int // Seconds in userland. UserTime float64 // Seconds in system time. SystemTime float64 // Number of bytes currently allocated. BytesAlloc uint64 // Number of bytes obtained from system. BytesFromSystem uint64 // How long the last GC pause time took in milliseconds. GCPauseTimeLast float64 // Maximum recent GC pause time in milliseconds. GCPauseTimeMax float64 // Total GC pause time in milliseconds. GCPauseTimeTotal float64 // Seconds since last GC pause. GCPauseSince float64 }
func GetSystemStats ¶
func GetSystemStats() SystemStats
Click to show internal directories.
Click to hide internal directories.