package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Functions

Lookup returns the profile with the given name, or nil if no such profile exists.
NewProfile creates a new profile with the given name.
Profiles returns a slice of all the known profiles, sorted by name.
StartCPUProfile enables CPU profiling for the current process.
StopCPUProfile stops the current CPU profile, if any.
WriteHeapProfile is shorthand for Lookup("heap").WriteTo(w, 0).

# Structs

A Profile is a collection of stack traces showing the call sequences that led to instances of a particular event, such as allocation.