go-ethereum/metrics/runtime_no_gccpufraction.go

11 lines
140 B
Go
Raw Normal View History

//go:build !go1.5
// +build !go1.5
package metrics
import "runtime"
func gcCPUFraction(memStats *runtime.MemStats) float64 {
return 0
}