Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for diffTotal (0.08 sec)

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

    	var div, total, diffDiv, diffTotal int64
    	for _, sample := range prof.Sample {
    		var d, v int64
    		v = value(sample.Value)
    		if meanDiv != nil {
    			d = meanDiv(sample.Value)
    		}
    		if v < 0 {
    			v = -v
    		}
    		total += v
    		div += d
    		if sample.DiffBaseSample() {
    			diffTotal += v
    			diffDiv += d
    		}
    	}
    	if diffTotal > 0 {
    		total = diffTotal
    		div = diffDiv
    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