Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-simolt-adapter
/
2d897985b75abc43e08b89887c3b184ad4493653
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
Scott Baker
2d89798
2019-09-24 11:50:08 -0700
[
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
}