code: func (p *Profile) Scale(ratio float64) {
  	if ratio == 1 {
  		return
  	}
  	ratios := make([]float64, len(p.SampleType))
  	for i := range p.SampleType {
  		ratios[i] = ratio
  	}
  	p.ScaleN(ratios)
  }
docs: // Scale multiplies all sample values in a profile by a constant.