prof

package
v0.0.0-...-d0c3c69 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2013 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CUDA_PROFILE_CONFIG = `
gpustarttimestamp
instructions
streamid
`

Configuration for GPU profile output.

Variables

View Source
var (
	Flag_cpuprof = flag.Bool("cpuprof", false, "Record gopprof CPU profile")
	Flag_memprof = flag.Bool("memprof", false, "Recored gopprof memory profile")
	Flag_gpuprof = flag.Bool("gpuprof", false, "Recored GPU profile")
)

Functions

func AtExit

func AtExit(cleanup func())

Add a function to be executed at program exit.

func Cleanup

func Cleanup()

Runs all functions stacked by AtExit().

func Init

func Init(OD string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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