Documentation ¶
Overview ¶
Package report summarizes a performance profile into a human-readable report.
Index ¶
Constants ¶
View Source
const ( Proto = iota Dot Tags Tree Text Raw Dis List WebList Callgrind )
Output formats.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { OutputFormat int CumSort bool CallTree bool PrintAddresses bool DropNegative bool Ratio float64 NodeCount int NodeFraction float64 EdgeFraction float64 SampleType string SampleUnit string // Unit for the sample data from the profile. OutputUnit string // Units for data formatting in report. Symbol *regexp.Regexp // Symbols to include on disassembly report. }
Options are the formatting and filtering options used to generate a profile.
type Report ¶
type Report struct {
// contains filtered or unexported fields
}
Report contains the data and associated routines to extract a report from a profile.
Click to show internal directories.
Click to hide internal directories.