Versions in this module Expand all Collapse all v1 v1.0.1 Dec 19, 2023 Changes in this version + const Callgrind + const Comments + const Dis + const Dot + const List + const Proto + const Raw + const Tags + const Text + const TopProto + const Traces + const Tree + const WebList + func Generate(w io.Writer, rpt *Report) error + func GetDOT(rpt *Report) (*graph.Graph, *graph.DotConfig) + func ProfileLabels(rpt *Report) []string + type Options struct + ActiveFilters []string + CallTree bool + CompactLabels bool + CumSort bool + DropNegative bool + EdgeFraction float64 + IntelSyntax bool + NodeCount int + NodeFraction float64 + NumLabelUnits map[string]string + OutputFormat int + OutputUnit string + ProfileLabels []string + Ratio float64 + SampleMeanDivisor func(s []int64) int64 + SampleType string + SampleUnit string + SampleValue func(s []int64) int64 + SourcePath string + Symbol *regexp.Regexp + Title string + TrimPath string + type Report struct + func New(prof *profile.Profile, o *Options) *Report + func NewDefault(prof *profile.Profile, options Options) *Report + func (rpt *Report) Total() int64 + type TextItem struct + Cum int64 + CumFormat string + Flat int64 + FlatFormat string + InlineLabel string + Name string + func TextItems(rpt *Report) ([]TextItem, []string)