Documentation ¶
Overview ¶
Package report summarizes a performance profile into a human-readable report.
Index ¶
Constants ¶
View Source
const ( Callgrind = iota Comments Dis Dot List Proto Raw Tags Text TopProto Traces Tree WebList )
Output formats.
Variables ¶
This section is empty.
Functions ¶
func ProfileLabels ¶
ProfileLabels returns printable labels for a profile.
Types ¶
type Options ¶
type Options struct { OutputFormat int CumSort bool CallTree bool DropNegative bool PositivePercentages bool CompactLabels bool Ratio float64 Title string ProfileLabels []string NodeCount int NodeFraction float64 EdgeFraction float64 SampleValue func(s []int64) int64 SampleMeanDivisor func(s []int64) int64 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. SourcePath string // Search path for source files. }
Options are the formatting and filtering options used to generate a profile.
Click to show internal directories.
Click to hide internal directories.