Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuntimeStat ¶
type RuntimeStat struct {
NumGoroutine int `json:"num_goroutine"`
Alloc uint64 `json:"alloc"`
TotalAlloc uint64 `json:"total_alloc"`
Sys uint64 `json:"sys"`
Mallocs uint64 `json:"mallocs"`
Frees uint64 `json:"free"`
LiveObjects uint64 `json:"live_objects"`
PauseTotalNs uint64 `json:"pause_total_ns"`
NumGC uint32 `json:"num_gc"`
}
func GetStat ¶
func GetStat() RuntimeStat
Click to show internal directories.
Click to hide internal directories.