internal/profile.ValueType.Unit (field)

32 uses

	internal/profile (current package)
		encode.go#L26: 		st.unitX = addString(strings, st.Unit)
		encode.go#L99: 		pt.unitX = addString(strings, pt.Unit)
		encode.go#L245: 		st.Unit, err = getString(p.stringTable, &st.unitX, err)
		encode.go#L283: 		pt.Unit, err = getString(p.stringTable, &pt.unitX, err)
		legacy_profile.go#L79: 		PeriodType: &ValueType{Type: profileType, Unit: "count"},
		legacy_profile.go#L81: 		SampleType: []*ValueType{{Type: profileType, Unit: "count"}},
		legacy_profile.go#L264: 		PeriodType: &ValueType{Type: "trace", Unit: "count"},
		legacy_profile.go#L267: 			{Type: "trace", Unit: "count"},
		legacy_profile.go#L369: 		PeriodType: &ValueType{Type: "cpu", Unit: "nanoseconds"},
		legacy_profile.go#L371: 			{Type: "samples", Unit: "count"},
		legacy_profile.go#L372: 			{Type: "cpu", Unit: "nanoseconds"},
		legacy_profile.go#L483: 				{Type: "objects", Unit: "count"},
		legacy_profile.go#L484: 				{Type: "space", Unit: "bytes"},
		legacy_profile.go#L486: 			PeriodType: &ValueType{Type: "objects", Unit: "bytes"},
		legacy_profile.go#L509: 				{Type: "objects", Unit: "count"},
		legacy_profile.go#L510: 				{Type: "space", Unit: "bytes"},
		legacy_profile.go#L512: 			PeriodType: &ValueType{Type: "heapgrowth", Unit: "count"},
		legacy_profile.go#L518: 				{Type: "objects", Unit: "count"},
		legacy_profile.go#L519: 				{Type: "space", Unit: "bytes"},
		legacy_profile.go#L521: 			PeriodType: &ValueType{Type: "allocations", Unit: "count"},
		legacy_profile.go#L717: 		PeriodType: &ValueType{Type: "contentions", Unit: "count"},
		legacy_profile.go#L720: 			{Type: "contentions", Unit: "count"},
		legacy_profile.go#L721: 			{Type: "delay", Unit: "nanoseconds"},
		legacy_profile.go#L907: 		SampleType: []*ValueType{{Type: "thread", Unit: "count"}},
		legacy_profile.go#L908: 		PeriodType: &ValueType{Type: "thread", Unit: "count"},
		merge.go#L460: 	return st1.Type == st2.Type && st1.Unit == st2.Unit
		profile.go#L48: 	Unit string // seconds, nanoseconds, bytes, etc
		profile.go#L341: 		ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit))
		profile.go#L354: 		sh1 = sh1 + fmt.Sprintf("%s/%s ", s.Type, s.Unit)
		profile.go#L526: 	return v1.Type == v2.Type && v1.Unit == v2.Unit