forked from cerc-io/ipld-eth-server
5a652190d9
* Upgrade go-ethereum to v1.8 * Add Node Info for parity nodes * Upgrade start_private_blockchain to use v1.8
10 lines
142 B
Go
10 lines
142 B
Go
// +build go1.5
|
|
|
|
package metrics
|
|
|
|
import "runtime"
|
|
|
|
func gcCPUFraction(memStats *runtime.MemStats) float64 {
|
|
return memStats.GCCPUFraction
|
|
}
|