# README
サンプルリスト
このディレクトリには以下のサンプルがあります。
file | example name | note |
---|---|---|
cpuprofile.go | profiles_cpu | pprof を使ってCPUプロファイルを取得するサンプルです。 |
# Functions
CpuProfile は、pprof を使ってCPUプロファイルを取得するサンプルです。
# References
- https://pkg.go.dev/runtime/[email protected] - https://github.com/pkg/profile/blob/master/profile.go.
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。.