Gitiles
Code Review
Sign In
gerrit.opencord.org
/
bbsim
/
6d9a1a49df31a128aaec5fd2da53e277fcd0ca2c
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
Pragya Arya
324337e
2020-02-20 14:35:08 +0530
[
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
}