Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Uptime string `json:"uptime,omitempty"` NumGoroutine int `json:"num_goroutine,omitempty"` // General statistics. MemAllocated string `json:"mem_allocated"` // bytes allocated and still in use MemTotal string `json:"mem_total"` // bytes allocated (even if freed) MemSys string `json:"mem_sys"` // bytes obtained from system (sum of XxxSys below) Lookups uint64 `json:"lookups"` // number of pointer lookups MemMallocs uint64 `json:"mem_mallocs"` // number of malloc MemFrees uint64 `json:"mem_frees"` // number of frees // Main allocation heap statistics. HeapAlloc string `json:"heap_alloc"` // bytes allocated and still in use HeapSys string `json:"heap_sys"` // bytes obtained from system HeapIdle string `json:"heap_idle"` // bytes in idle spans HeapInuse string `json:"heap_inuse"` // bytes in non-idle span HeapReleased string `json:"heap_released"` // bytes released to the OS HeapObjects uint64 `json:"heap_objects"` // total number of allocated objects // Low-level fixed-size structure allocator statistics. // Inuse is bytes used now. // Sys is bytes obtained from system. StackInuse string `json:"stack_inuse"` // bootstrap stacks StackSys string `json:"stack_sys"` MSpanInuse string `json:"m_span_inuse"` MSpanSys string `json:"m_span_sys"` MCacheInuse string `json:"m_cache_inuse"` MCacheSys string `json:"m_cache_sys"` BuckHashSys string `json:"buck_hash_sys"` // profiling bucket hash table GCSys string `json:"gc_sys"` // GC metadata OtherSys string `json:"other_sys"` // other system allocations // Garbage collector statistics. NextGC string `json:"next_gc"` // next run in HeapAlloc time (bytes) LastGC string `json:"last_gc"` // last run in absolute time (ns) PauseTotalNs string `json:"pause_total_ns"` PauseNs string `json:"pause_ns"` // circular buffer of recent GC pause times, most recent at [(NumGC+255)%256] NumGC uint32 `json:"num_gc"` }
Click to show internal directories.
Click to hide internal directories.