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

Struct Edge

internal/graph/graph.go:271–281  ·  view source on GitHub ↗

Edge contains any attributes to be represented about edges in a graph.

Source from the content-addressed store, hash-verified

269
270// Edge contains any attributes to be represented about edges in a graph.
271type Edge struct {
272 Src, Dest *Node
273 // The summary weight of the edge
274 Weight, WeightDiv int64
275
276 // residual edges connect nodes that were connected through a
277 // separate node, which has been removed from the report.
278 Residual bool
279 // An inline edge represents a call that was inlined into the caller.
280 Inline bool
281}
282
283// WeightValue returns the weight value for this edge, normalizing if a
284// divisor is available.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected