Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NumLabel (0.08 sec)

  1. src/runtime/pprof/protomem_test.go

    				{ID: 1, Mapping: map1, Address: addr1},
    				{ID: 2, Mapping: map2, Address: addr2},
    			},
    			NumLabel: map[string][]int64{"bytes": {1024}},
    		},
    		{
    			Value: []int64{1, 829411, 1, 829411},
    			Location: []*profile.Location{
    				{ID: 3, Mapping: map2, Address: addr2 + 1},
    				{ID: 4, Mapping: map2, Address: addr2 + 2},
    			},
    			NumLabel: map[string][]int64{"bytes": {512 * 1024}},
    		},
    		{
    			Value: []int64{1, 829411, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/internal/profile/filter.go

    		for _, val := range vals {
    			if ignore != nil && ignore(key, val, 0) {
    				im = true
    			}
    			if !fm && focus(key, val, 0) {
    				fm = true
    			}
    		}
    	}
    	for key, vals := range s.NumLabel {
    		for _, val := range vals {
    			if ignore != nil && ignore(key, "", val) {
    				im = true
    			}
    			if !fm && focus(key, "", val) {
    				fm = true
    			}
    		}
    	}
    	return fm, im
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    			switch pType {
    			case "heap":
    				const javaHeapzSamplingRate = 524288 // 512K
    				if s.Value[0] == 0 {
    					return nil, nil, fmt.Errorf("parsing sample %s: second value must be non-zero", line)
    				}
    				s.NumLabel = map[string][]int64{"bytes": {s.Value[1] / s.Value[0]}}
    				s.Value[0], s.Value[1] = scaleHeapSample(s.Value[0], s.Value[1], javaHeapzSamplingRate)
    			case "contention":
    				if period := p.Period; period != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top