mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-10 10:12:17 +08:00
add vendor packages避免用户网络太慢无法下载编译
This commit is contained in:
9
vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
generated
vendored
Normal file
9
vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// +build go1.5
|
||||
|
||||
package metrics
|
||||
|
||||
import "runtime"
|
||||
|
||||
func gcCPUFraction(memStats *runtime.MemStats) float64 {
|
||||
return memStats.GCCPUFraction
|
||||
}
|
Reference in New Issue
Block a user