Gitiles
Code Review
Sign In
gerrit.opencord.org
/
device-management
/
a6ba07d8318196e0eefd25e709d77cab68429f4d
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [
file
] [
log
] [
blame
]
Dinesh Belwalkar
e63f7f9
2019-11-22 23:11:16 +0000
[
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
}