traefik/vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
2018-01-10 17:48:04 +01:00

9 lines
142 B
Go

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