go-common/vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
2019-04-22 02:59:20 +00:00

10 lines
142 B
Go

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