Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ignoredUnits (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    				if unit == "" {
    					continue
    				}
    				if wantUnit, ok := numLabelUnits[k]; !ok {
    					numLabelUnits[k] = unit
    				} else if wantUnit != unit {
    					if v, ok := ignoredUnits[k]; ok {
    						v[unit] = true
    					} else {
    						ignoredUnits[k] = map[string]bool{unit: true}
    					}
    				}
    			}
    		}
    	}
    	// Infer units for keys without any units associated with
    	// numeric tag values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    // associated with those keys.
    func identifyNumLabelUnits(p *profile.Profile, ui plugin.UI) map[string]string {
    	numLabelUnits, ignoredUnits := p.NumLabelUnits()
    
    	// Print errors for tags with multiple units associated with
    	// a single key.
    	for k, units := range ignoredUnits {
    		ui.PrintErr(fmt.Sprintf("For tag %s used unit %s, also encountered unit(s) %s", k, numLabelUnits[k], strings.Join(units, ", ")))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top