Home | History | Annotate | Download | only in protopprof

Lines Matching refs:profile

8 	"internal/pprof/profile"
14 // EncodeMemProfile converts MemProfileRecords to a Profile.
15 func EncodeMemProfile(mr []runtime.MemProfileRecord, rate int64, t time.Time) *profile.Profile {
16 p := &profile.Profile{
18 PeriodType: &profile.ValueType{Type: "space", Unit: "bytes"},
19 SampleType: []*profile.ValueType{
28 locs := make(map[uintptr]*profile.Location)
31 sloc := make([]*profile.Location, len(stack))
35 loc = &profile.Location{
48 p.Sample = append(p.Sample, &profile.Sample{
64 // profile. heap profiles rely on a poisson process to determine
67 // profile is 1-exp(-S/R).