Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-openonu-adapter-go
/
bf67a09eef3b2885fe2b9b76c1a2f5a3ce6fa615
/
.
/
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
}