Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for numLabelUnits (0.17 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/driver_focus.go

    	show, err := compileRegexOption("show", cfg.Show, err)
    	showfrom, err := compileRegexOption("show_from", cfg.ShowFrom, err)
    	tagfocus, err := compileTagFilter("tagfocus", cfg.TagFocus, numLabelUnits, ui, err)
    	tagignore, err := compileTagFilter("tagignore", cfg.TagIgnore, numLabelUnits, ui, err)
    	prunefrom, err := compileRegexOption("prune_from", cfg.PruneFrom, err)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 22 23:33:06 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	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, ", ")))
    	}
    	return numLabelUnits
    }
    
    type sampleValueFunc func([]int64) int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	// Infer units for keys without any units associated with
    	// numeric tag values.
    	for key := range encounteredKeys {
    		unit := numLabelUnits[key]
    		if unit == "" {
    			switch key {
    			case "alignment", "request":
    				numLabelUnits[key] = "bytes"
    			default:
    				numLabelUnits[key] = key
    			}
    		}
    	}
    
    	// Copy ignored units into more readable format
    	unitsIgnored := make(map[string][]string, len(ignoredUnits))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    // greetings prints a brief welcome and some overall profile
    // information before accepting interactive commands.
    func greetings(p *profile.Profile, ui plugin.UI) {
    	numLabelUnits := identifyNumLabelUnits(p, ui)
    	ropt, err := reportOptions(p, numLabelUnits, currentConfig())
    	if err == nil {
    		rpt := report.New(p, ropt)
    		ui.Print(strings.Join(report.ProfileLabels(rpt), "\n"))
    		if rpt.Total() == 0 && len(p.SampleType) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	OutputFormat int
    
    	CumSort       bool
    	CallTree      bool
    	DropNegative  bool
    	CompactLabels bool
    	Ratio         float64
    	Title         string
    	ProfileLabels []string
    	ActiveFilters []string
    	NumLabelUnits map[string]string
    
    	NodeCount    int
    	NodeFraction float64
    	EdgeFraction float64
    
    	SampleValue       func(s []int64) int64
    	SampleMeanDivisor func(s []int64) int64
    	SampleType        string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top