Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SampleMeanDivisor (0.18 sec)

  1. src/internal/profile/graph.go

    	seenNode := make(map[*Node]bool)
    	seenEdge := make(map[nodePair]bool)
    	for _, sample := range prof.Sample {
    		var w, dw int64
    		w = o.SampleValue(sample.Value)
    		if o.SampleMeanDivisor != nil {
    			dw = o.SampleMeanDivisor(sample.Value)
    		}
    		if dw == 0 && w == 0 {
    			continue
    		}
    		for k := range seenNode {
    			delete(seenNode, k)
    		}
    		for k := range seenEdge {
    			delete(seenEdge, k)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 20:59:15 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    	seenNode := make(map[*Node]bool)
    	seenEdge := make(map[nodePair]bool)
    	for _, sample := range prof.Sample {
    		var w, dw int64
    		w = o.SampleValue(sample.Value)
    		if o.SampleMeanDivisor != nil {
    			dw = o.SampleMeanDivisor(sample.Value)
    		}
    		if dw == 0 && w == 0 {
    			continue
    		}
    		for k := range seenNode {
    			delete(seenNode, k)
    		}
    		for k := range seenEdge {
    			delete(seenEdge, k)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	formatTag := func(v int64, key string) string {
    		return measurement.ScaledLabel(v, key, o.OutputUnit)
    	}
    
    	gopt := &graph.Options{
    		SampleValue:       o.SampleValue,
    		SampleMeanDivisor: o.SampleMeanDivisor,
    		FormatTag:         formatTag,
    		CallTree:          o.CallTree && (o.OutputFormat == Dot || o.OutputFormat == Callgrind),
    		DropNegative:      o.DropNegative,
    		KeptNodes:         nodes,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		NodeCount:    cfg.NodeCount,
    		NodeFraction: cfg.NodeFraction,
    		EdgeFraction: cfg.EdgeFraction,
    
    		ActiveFilters: filters,
    		NumLabelUnits: numLabelUnits,
    
    		SampleValue:       value,
    		SampleMeanDivisor: meanDiv,
    		SampleType:        stype,
    		SampleUnit:        sample.Unit,
    
    		OutputUnit: cfg.Unit,
    
    		SourcePath: cfg.SourcePath,
    		TrimPath:   cfg.TrimPath,
    
    		IntelSyntax: cfg.IntelSyntax,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	}
    
    	// Extract sample counts and compute set of interesting functions.
    	for _, sample := range rpt.prof.Sample {
    		value := rpt.options.SampleValue(sample.Value)
    		if rpt.options.SampleMeanDivisor != nil {
    			div := rpt.options.SampleMeanDivisor(sample.Value)
    			if div != 0 {
    				value /= div
    			}
    		}
    
    		// Find call-sites matching sym.
    		for i := len(sample.Location) - 1; i >= 0; i-- {
    			loc := sample.Location[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top