blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 [file] [log] [blame]
Dinesh Belwalkare63f7f92019-11-22 23:11:16 +00001// +build go1.5
2
3package metrics
4
5import "runtime"
6
7func gcCPUFraction(memStats *runtime.MemStats) float64 {
8 return memStats.GCCPUFraction
9}