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

Method FlatValue

internal/graph/graph.go:303–308  ·  view source on GitHub ↗

FlatValue returns the exclusive value for this tag, computing the mean if a divisor is available.

()

Source from the content-addressed store, hash-verified

301// FlatValue returns the exclusive value for this tag, computing the
302// mean if a divisor is available.
303func (t *Tag) FlatValue() int64 {
304 if t.FlatDiv == 0 {
305 return t.Flat
306 }
307 return t.Flat / t.FlatDiv
308}
309
310// CumValue returns the inclusive value for this tag, computing the
311// mean if a divisor is available.

Callers 12

ComposeDotFunction · 0.45
addNodeMethod · 0.45
addNodeletsMethod · 0.45
numericNodeletsMethod · 0.45
tagGroupLabelMethod · 0.45
selectOutputUnitMethod · 0.45
printTopProtoFunction · 0.45
printTagsFunction · 0.45
TextItemsFunction · 0.45
printCallgrindFunction · 0.45
printTreeFunction · 0.45
graphTotalFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected