github.com/tmoore22/go-ethereum@v1.10.22-0.20220814113424-76f4d8bc4994/metrics/runtime_no_gccpufraction.go (about) 1 //go:build !go1.5 2 // +build !go1.5 3 4 package metrics 5 6 import "runtime" 7 8 func gcCPUFraction(memStats *runtime.MemStats) float64 { 9 return 0 10 }