Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for scaleHeapSample (0.18 sec)

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

    		}
    		if count == 0 && size != 0 {
    			return fmt.Errorf("%s count was 0 but %s bytes was %d", label, label, size)
    		}
    		if count != 0 {
    			blocksize = size / count
    			if sampling == "v2" {
    				count, size = scaleHeapSample(count, size, rate)
    			}
    		}
    		value = append(value, count, size)
    		return nil
    	}
    
    	if includeAlloc {
    		if err := addValues(sampleData[3], sampleData[4], "allocation"); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
Back to top