Gitiles
Code Review
Sign In
gerrit.opencord.org
/
sadis-server
/
9a2772a1846566b498d4fb1fefa3959d0de823eb
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
Matteo Scandolo
9a2772a
2018-11-19 14:56:26 -0800
[
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
}