MCPcopy Create free account
hub / github.com/google/pprof / DotConfig

Struct DotConfig

internal/graph/dotgraph.go:44–51  ·  view source on GitHub ↗

DotConfig contains attributes about how a graph should be constructed and how it should look.

Source from the content-addressed store, hash-verified

42// DotConfig contains attributes about how a graph should be
43// constructed and how it should look.
44type DotConfig struct {
45 Title string // The title of the DOT graph
46 LegendURL string // The URL to link to from the legend.
47 Labels []string // The labels for the DOT's legend
48
49 FormatValue func(int64) string // A formatting function for values
50 Total int64 // The total weight of the graph, used to compute percentages
51}
52
53const maxNodelets = 4 // Number of nodelets for labels (both numeric and non)
54

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected