Home | History | Annotate | Download | only in profile

Lines Matching defs:string

36 	DefaultSampleType string
41 Comments []string
43 DropFrames string
44 KeepFrames string
58 stringTable []string
64 Type string // cpu, wall, inuse_space, etc
65 Unit string // seconds, nanoseconds, bytes, etc
75 Label map[string][]string
76 NumLabel map[string][]int64
77 NumUnit map[string][]string
99 File string
100 BuildID string
131 Name string
132 SystemName string
133 Filename string
462 func (p *Profile) NumLabelUnits() (map[string]string, map[string][]string) {
463 numLabelUnits := map[string]string{}
464 ignoredUnits := map[string]map[string]bool{}
465 encounteredKeys := map[string]bool{}
481 ignoredUnits[k] = map[string]bool{unit: true}
502 unitsIgnored := make(map[string][]string, len(ignoredUnits))
504 units := make([]string, len(values))
517 // String dumps a text representation of a profile. Intended mainly
519 func (p *Profile) String() string {
520 ss := make([]string, 0, len(p.Comments)+len(p.Sample)+len(p.Mapping)+len(p.Location))
536 var sh1 string
546 ss = append(ss, s.string())
551 ss = append(ss, l.string())
556 ss = append(ss, m.string())
562 // string dumps a text representation of a mapping. Intended mainly
564 func (m *Mapping) string() string {
586 // string dumps a text representation of a location. Intended mainly
588 func (l *Location) string() string {
589 ss := []string{}
616 // string dumps a text representation of a sample. Intended mainly
618 func (s *Sample) string() string {
619 ss := []string{}
620 var sv string
639 // labelsToString returns a string representation of a
641 func labelsToString(labels map[string][]string) string {
642 ls := []string{}
650 // numLablesToString returns a string representation of a map
652 func numLabelsToString(numLabels map[string][]int64, numUnits map[string][]string) string {
653 ls := []string{}
656 var labelString string
658 values := make([]string, len(v))