github.com/zjj1991/quorum@v0.0.0-20190524123704-ae4b0a1e1a19/metrics/runtime_no_gccpufraction.go (about) 1 // +build !go1.5 2 3 package metrics 4 5 import "runtime" 6 7 func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 return 0 9 }