Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-go
/
7b1e0641d3328bc930bc6e1732210a69fc794a6e
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
// +build go1.5
package metrics
import "runtime"
func gcCPUFraction(memStats *runtime.MemStats) float64 {
return memStats.GCCPUFraction
}