runtime_gccpufraction.go 142 B

12345678910
  1. // +build go1.5
  2. package metrics
  3. import "runtime"
  4. func gcCPUFraction(memStats *runtime.MemStats) float64 {
  5. return memStats.GCCPUFraction
  6. }