package pprof

import "golang.org/x/tools/internal/pprof"

Package pprof provides minimalistic routines for extracting information from profiles.

Index

Functions

func TotalTime

func TotalTime(data []byte) (total time.Duration, err error)

TotalTime parses the profile data and returns the accumulated time. The input should not be gzipped.

Source Files

pprof.go

Version
v0.32.0 (latest)
Published
Apr 8, 2025
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.