mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 19:40:36 +00:00
8a134014b4
Generated by go1.17 fmt ./...
11 lines
159 B
Go
11 lines
159 B
Go
//go:build go1.5
|
|
// +build go1.5
|
|
|
|
package metrics
|
|
|
|
import "runtime"
|
|
|
|
func gcCPUFraction(memStats *runtime.MemStats) float64 {
|
|
return memStats.GCCPUFraction
|
|
}
|