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

Function valueExtractor

internal/driver/driver.go:384–388  ·  view source on GitHub ↗
(ix int)

Source from the content-addressed store, hash-verified

382}
383
384func valueExtractor(ix int) sampleValueFunc {
385 return func(v []int64) int64 {
386 return v[ix]
387 }
388}
389
390// profileCopier can be used to obtain a fresh copy of a profile.
391// It is useful since reporting code may mutate the profile handed to it.

Callers 1

sampleFormatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…