kk_pprof

package
v0.0.0-...-cfc9456 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCpuUsage

func GetCpuUsage()

func GetGoroutineCount

func GetGoroutineCount()

func GetMemoryUsage

func GetMemoryUsage()

func StartGoroutineCollect

func StartGoroutineCollect(period time.Duration)

func StartHeapCollect

func StartHeapCollect(period time.Duration)

StartHeapCollect 收集内存分配情况,只收集在被调用时正在使用的内存分配情况

func StartProfileCollect

func StartProfileCollect(dur time.Duration, period time.Duration)

StartProfileCollect 收集 CPU 使用情况 dur 收集时间, period 收集间隔(可选)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL