本文へスキップ

[Profiling] debug_setBlockProfileRate

Sets the rate (in samples/sec) of goroutine block profile data collection. A non-zero rate enables block profiling, setting it to zero stops the profile. Collected profile data can be written using debug_writeBlockProfile.

JSONRPC: debug_setBlockProfileRate

Request​

Responses​

Sets the rate (in samples/sec) of goroutine block profile data collection.

ページを改善してください。