pprof

package
v0.0.0-...-4b5eaaf Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveProfile

func SaveProfile(workDir string, profileName string, ptype ProfileType, debug int)

SaveProfile 用于存储概要文件。

func Start

func Start()

Start 用于开始采样并生成概要文件。

func Stop

func Stop()

Stop 用于停止采样并生成概要文件。

Types

type ProfileType

type ProfileType string

ProfileType 代表概要类型。

Jump to

Keyboard shortcuts

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