pprof

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpCPUProfileForUsername

func DumpCPUProfileForUsername(pprofDataPath, username string) func()

DumpCPUProfileForUsername dumps a CPU profile at pprofDataPath as cpuprofile_<username>_<temporary id>

it returns the stop function which stops, writes and closes the CPU profile file

func DumpMemProfileForUsername

func DumpMemProfileForUsername(pprofDataPath, username string)

DumpMemProfileForUsername dumps a memory profile at pprofDataPath as memprofile_<username>_<temporary id>

Types

This section is empty.

Jump to

Keyboard shortcuts

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