mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
e7067be94f
* cmd/geth, mobile: add memsize to pprof server This is a temporary change, to be reverted before the next release. * cmd/geth: fix variable name
15 lines
310 B
Go
15 lines
310 B
Go
package memsize
|
|
|
|
import "unsafe"
|
|
|
|
var _ = unsafe.Pointer(nil)
|
|
|
|
//go:linkname stopTheWorld runtime.stopTheWorld
|
|
func stopTheWorld(reason string)
|
|
|
|
//go:linkname startTheWorld runtime.startTheWorld
|
|
func startTheWorld()
|
|
|
|
//go:linkname chanbuf runtime.chanbuf
|
|
func chanbuf(ch unsafe.Pointer, i uint) unsafe.Pointer
|