Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-go
/
5809b5be7d6f9f4423546e4a89915d66a17880e5
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
khenaidoo
ac63710
2019-01-14 15:44:34 -0500
[
diff
] [
blame
]
1
// +build go1.5
2
3
package metrics
4
5
import "runtime"
6
7
func gcCPUFraction(memStats *runtime.MemStats) float64 {
8
return memStats.GCCPUFraction
9
}