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

Method PrintableName

internal/graph/graph.go:162–164  ·  view source on GitHub ↗

PrintableName calls the Node's Formatter function with a single space separator.

()

Source from the content-addressed store, hash-verified

160
161// PrintableName calls the Node's Formatter function with a single space separator.
162func (i *NodeInfo) PrintableName() string {
163 return strings.Join(i.NameComponents(), " ")
164}
165
166// NameComponents returns the components of the printable name to be used for a node.
167func (i *NodeInfo) NameComponents() []string {

Callers 9

comparePrintableNameMethod · 0.95
addNodeMethod · 0.80
addEdgeMethod · 0.80
StringMethod · 0.80
LessMethod · 0.80
symbolsFromBinariesFunction · 0.80
TextItemsFunction · 0.80
printTracesFunction · 0.80
printTreeFunction · 0.80

Calls 1

NameComponentsMethod · 0.95

Tested by

no test coverage detected