/prebuilts/go/darwin-x86/src/runtime/pprof/ |
proto_test.go | 59 // Expected PeriodType and SampleType. 60 periodType := &profile.ValueType{Type: "cpu", Unit: "nanoseconds"} 66 checkProfile(t, p, 2000*1000, periodType, sampleType, nil) 118 periodType := &profile.ValueType{Type: "cpu", Unit: "nanoseconds"} 133 checkProfile(t, p, period, periodType, sampleType, samples) 136 func checkProfile(t *testing.T, p *profile.Profile, period int64, periodType *profile.ValueType, sampleType []*profile.ValueType, samples []*profile.Sample) { 140 if !reflect.DeepEqual(p.PeriodType, periodType) { 141 t.Fatalf("p.PeriodType = %v\nwant = %v", fmtJSON(p.PeriodType), fmtJSON(periodType) [all...] |
protomem_test.go | 39 periodType := &profile.ValueType{Type: "space", Unit: "bytes"} 73 checkProfile(t, p, rate, periodType, sampleType, samples)
|
/prebuilts/go/linux-x86/src/runtime/pprof/ |
proto_test.go | 59 // Expected PeriodType and SampleType. 60 periodType := &profile.ValueType{Type: "cpu", Unit: "nanoseconds"} 66 checkProfile(t, p, 2000*1000, periodType, sampleType, nil) 118 periodType := &profile.ValueType{Type: "cpu", Unit: "nanoseconds"} 133 checkProfile(t, p, period, periodType, sampleType, samples) 136 func checkProfile(t *testing.T, p *profile.Profile, period int64, periodType *profile.ValueType, sampleType []*profile.ValueType, samples []*profile.Sample) { 140 if !reflect.DeepEqual(p.PeriodType, periodType) { 141 t.Fatalf("p.PeriodType = %v\nwant = %v", fmtJSON(p.PeriodType), fmtJSON(periodType) [all...] |
protomem_test.go | 39 periodType := &profile.ValueType{Type: "space", Unit: "bytes"} 73 checkProfile(t, p, rate, periodType, sampleType, samples)
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/ |
measurement.go | 35 if p.PeriodType != nil { 36 periodTypes = append(periodTypes, p.PeriodType) 39 periodType, err := CommonValueType(periodTypes) 64 if p.PeriodType != nil && periodType != nil { 65 period, _ := Scale(p.Period, p.PeriodType.Unit, periodType.Unit) 66 p.Period, p.PeriodType.Unit = int64(period), periodType.Unit
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/measurement/ |
measurement.go | 35 if p.PeriodType != nil { 36 periodTypes = append(periodTypes, p.PeriodType) 39 periodType, err := CommonValueType(periodTypes) 64 if p.PeriodType != nil && periodType != nil { 65 period, _ := Scale(p.Period, p.PeriodType.Unit, periodType.Unit) 66 p.Period, p.PeriodType.Unit = int64(period), periodType.Unit
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/testdata/ |
cppbench.thread.all.string | 0 PeriodType: thread count
|
go.godoc.thread.string | 0 PeriodType: threadcreate count
|
cppbench.thread.string | 0 PeriodType: thread count
|
cppbench.thread.none.string | 0 PeriodType: thread count
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/testdata/ |
cppbench.thread.all.string | 0 PeriodType: thread count
|
go.godoc.thread.string | 0 PeriodType: threadcreate count
|
cppbench.thread.string | 0 PeriodType: thread count
|
cppbench.thread.none.string | 0 PeriodType: thread count
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
prune_test.go | 92 PeriodType: &ValueType{Type: "cpu", Unit: "milliseconds"}, 127 const out1 = `PeriodType: cpu milliseconds 180 PeriodType: &ValueType{Type: "cpu", Unit: "milliseconds"}, 214 const out2 = `PeriodType: cpu milliseconds
|
merge.go | 448 PeriodType: srcs[0].PeriodType, 462 if !equalValueType(p.PeriodType, pb.PeriodType) { 463 return fmt.Errorf("incompatible period types %v and %v", p.PeriodType, pb.PeriodType)
|
encode.go | 113 if pt := p.PeriodType; pt != nil { 152 if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) { 153 encodeMessage(b, 11, p.PeriodType) 224 pp.PeriodType = x 344 if pt := p.PeriodType; pt == nil { 345 p.PeriodType = &ValueType{} 348 if pt := p.PeriodType; pt != nil {
|
legacy_java_profile.go | 45 PeriodType: &ValueType{Type: "cpu", Unit: "nanoseconds"}, 75 PeriodType: &ValueType{}, 141 p.PeriodType = &ValueType{
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/profile/ |
prune_test.go | 92 PeriodType: &ValueType{Type: "cpu", Unit: "milliseconds"}, 127 const out1 = `PeriodType: cpu milliseconds 180 PeriodType: &ValueType{Type: "cpu", Unit: "milliseconds"}, 214 const out2 = `PeriodType: cpu milliseconds
|
merge.go | 448 PeriodType: srcs[0].PeriodType, 462 if !equalValueType(p.PeriodType, pb.PeriodType) { 463 return fmt.Errorf("incompatible period types %v and %v", p.PeriodType, pb.PeriodType)
|
encode.go | 113 if pt := p.PeriodType; pt != nil { 152 if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) { 153 encodeMessage(b, 11, p.PeriodType) 224 pp.PeriodType = x 344 if pt := p.PeriodType; pt == nil { 345 p.PeriodType = &ValueType{} 348 if pt := p.PeriodType; pt != nil {
|
/prebuilts/go/darwin-x86/src/runtime/pprof/internal/profile/ |
encode.go | 97 if pt := p.PeriodType; pt != nil { 129 if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) { 130 encodeMessage(b, 11, p.PeriodType) 195 pp.PeriodType = x 273 if pt := p.PeriodType; pt == nil { 274 p.PeriodType = &ValueType{} 277 if pt := p.PeriodType; pt != nil {
|
profile.go | 36 PeriodType *ValueType 339 if pt := p.PeriodType; pt != nil { 340 ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit)) 482 if !compatibleValueTypes(p.PeriodType, pb.PeriodType) { 483 return fmt.Errorf("incompatible period types %v and %v", p.PeriodType, pb.PeriodType)
|
/prebuilts/go/linux-x86/src/runtime/pprof/internal/profile/ |
encode.go | 97 if pt := p.PeriodType; pt != nil { 129 if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) { 130 encodeMessage(b, 11, p.PeriodType) 195 pp.PeriodType = x 273 if pt := p.PeriodType; pt == nil { 274 p.PeriodType = &ValueType{} 277 if pt := p.PeriodType; pt != nil {
|
profile.go | 36 PeriodType *ValueType 339 if pt := p.PeriodType; pt != nil { 340 ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit)) 482 if !compatibleValueTypes(p.PeriodType, pb.PeriodType) { 483 return fmt.Errorf("incompatible period types %v and %v", p.PeriodType, pb.PeriodType)
|