aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
blob: ca12c05bac740b87c9963d6b4487b78959c4e6a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
// +build go1.5

package metrics

import "runtime"

func gcCPUFraction(memStats *runtime.MemStats) float64 {
    return memStats.GCCPUFraction
}