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

Method DiscardLowFrequencyNodes

internal/graph/graph.go:752–754  ·  view source on GitHub ↗

DiscardLowFrequencyNodes returns a set of the nodes at or over a specific cum value cutoff.

(nodeCutoff int64)

Source from the content-addressed store, hash-verified

750// DiscardLowFrequencyNodes returns a set of the nodes at or over a
751// specific cum value cutoff.
752func (g *Graph) DiscardLowFrequencyNodes(nodeCutoff int64) NodeSet {
753 return makeNodeSet(g.Nodes, nodeCutoff)
754}
755
756// DiscardLowFrequencyNodePtrs returns a NodePtrSet of nodes at or over a
757// specific cum value cutoff.

Callers 1

newTrimmedGraphMethod · 0.80

Calls 1

makeNodeSetFunction · 0.85

Tested by

no test coverage detected