mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
b37fda7731
* Rebase on 1.8.5 * Remove outdated patches and apply all others * Use shh_post that returns hash * Use bloom filter for request to mailserver * Remove tests for sending messages without subbing first * Fix deadlock in ethdb * Expect null if receipt is not yet created * Subscribe to messages before sending them in whisper test
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
|
|
}
|