- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CompatibilizeSampleTypes (0.17 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/merge.go
// // It returns an error if the sample type's intersection is empty. func CompatibilizeSampleTypes(ps []*Profile) error { sTypes := commonSampleTypes(ps) if len(sTypes) == 0 { return fmt.Errorf("profiles have empty common sample type list") } for _, p := range ps { if err := compatibilizeSampleTypes(p, sTypes); err != nil { return err } } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go
// // The merge call below only treats exactly matching sample type lists as // compatible and will fail otherwise. Make the profiles' sample types // compatible for the merge, see CompatibilizeSampleTypes() doc for details. if err := profile.CompatibilizeSampleTypes(profiles); err != nil { return nil, nil, err } if err := measurement.ScaleProfiles(profiles); err != nil { return nil, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 19K bytes - Viewed (0)