plugeth/metrics/runtime_gccpufraction.go

10 lines
142 B
Go
Raw Normal View History

// +build go1.5
package metrics
import "runtime"
func gcCPUFraction(memStats *runtime.MemStats) float64 {
return memStats.GCCPUFraction
}