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

# Packages

Package debug contains facilities for programs to debug themselves while they are running.
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool.

# Functions

BlockProfile returns n, the number of records in the current blocking profile.
Breakpoint executes a breakpoint trap.
Caller reports file and line number information about function invocations on the calling goroutine's stack.
Callers fills the slice pc with the program counters of function invocations on the calling goroutine's stack.
CPUProfile returns the next chunk of binary CPU profiling stack trace data, blocking until data is available.
FuncForPC returns a *Func describing the function that contains the given program counter address, or else nil.
GC runs a garbage collection.
Goexit terminates the goroutine that calls it.
GOMAXPROCS sets the maximum number of CPUs that can be executing simultaneously and returns the previous setting.
GOROOT returns the root of the Go tree.
GoroutineProfile returns n, the number of records in the active goroutine stack profile.
Gosched yields the processor, allowing other goroutines to run.
LockOSThread wires the calling goroutine to its current operating system thread.
MemProfile returns n, the number of records in the current memory profile.
NumCgoCall returns the number of cgo calls made by the current process.
NumCPU returns the number of logical CPUs on the local machine.
NumGoroutine returns the number of goroutines that currently exist.
ReadMemStats populates m with memory allocator statistics.
SetBlockProfileRate controls the fraction of goroutine blocking events that are reported in the blocking profile.
SetCPUProfileRate sets the CPU profiling rate to hz samples per second.
SetFinalizer sets the finalizer associated with x to f.
Stack formats a stack trace of the calling goroutine into buf and returns the number of bytes written to buf.
ThreadCreateProfile returns n, the number of records in the thread creation profile.
UnlockOSThread unwires the calling goroutine from its fixed operating system thread.
Version returns the Go tree's version string.

# Constants

Compiler is the name of the compiler toolchain that built the running binary.
GOARCH is the running program's architecture target: 386, amd64, or arm.
GOOS is the running program's operating system target: one of darwin, freebsd, linux, and so on.

# Variables

MemProfileRate controls the fraction of memory allocations that are recorded and reported in the memory profile.

# Structs

BlockProfileRecord describes blocking events originated at a particular call sequence (stack trace).
No description provided by the author
A MemProfileRecord describes the live objects allocated by a particular call sequence (stack trace).
A MemStats records statistics about the memory allocator.
A StackRecord describes a single execution stack.
A TypeAssertionError explains a failed type assertion.

# Interfaces

The Error interface identifies a run time error.