Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for inuse_space (0.12 sec)

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

    	si = sampleIndex(flagMeanDelay, si, "delay", "-mean_delay", o.UI)
    	si = sampleIndex(flagContentions, si, "contentions", "-contentions", o.UI)
    	si = sampleIndex(flagInUseSpace, si, "inuse_space", "-inuse_space", o.UI)
    	si = sampleIndex(flagInUseObjects, si, "inuse_objects", "-inuse_objects", o.UI)
    	si = sampleIndex(flagAllocSpace, si, "alloc_space", "-alloc_space", o.UI)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/profile/index.go

    			return 0, fmt.Errorf("sample_index %s is outside the range [0..%d]", sampleIndex, len(p.SampleType)-1)
    		}
    		return i, nil
    	}
    
    	// Remove the inuse_ prefix to support legacy pprof options
    	// "inuse_space" and "inuse_objects" for profiles containing types
    	// "space" and "objects".
    	noInuse := strings.TrimPrefix(sampleIndex, "inuse_")
    	for i, t := range p.SampleType {
    		if t.Type == sampleIndex || t.Type == noInuse {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 19:18:53 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  3. src/runtime/pprof/protomem.go

    	b.pbValueType(tagProfile_SampleType, "alloc_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "alloc_space", "bytes")
    	b.pbValueType(tagProfile_SampleType, "inuse_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "inuse_space", "bytes")
    	if defaultSampleType != "" {
    		b.pb.int64Opt(tagProfile_DefaultSampleType, b.stringIndex(defaultSampleType))
    	}
    
    	values := []int64{0, 0, 0, 0}
    	var locs []uint64
    	for _, r := range p {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/runtime/pprof/protomem_test.go

    	sampleType := []*profile.ValueType{
    		{Type: "alloc_objects", Unit: "count"},
    		{Type: "alloc_space", Unit: "bytes"},
    		{Type: "inuse_objects", Unit: "count"},
    		{Type: "inuse_space", Unit: "bytes"},
    	}
    	samples := []*profile.Sample{
    		{
    			Value: []int64{2050, 2099200, 1537, 1574400},
    			Location: []*profile.Location{
    				{ID: 1, Mapping: map1, Address: addr1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	}
    
    	if hasAlloc {
    		// Put alloc before inuse so that default pprof selection
    		// will prefer inuse_space.
    		p.SampleType = []*ValueType{
    			{Type: "alloc_objects", Unit: "count"},
    			{Type: "alloc_space", Unit: "bytes"},
    			{Type: "inuse_objects", Unit: "count"},
    			{Type: "inuse_space", Unit: "bytes"},
    		}
    	} else {
    		p.SampleType = []*ValueType{
    			{Type: "objects", Unit: "count"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  6. hack/grab-profiles.sh

            exit 1
          fi
          output_dir=$1
          shift
          ;;
        --inuse-space)
          shift
          requested_profiles="mem ${requested_profiles}"
          mem_pprof_flags="inuse_space ${mem_pprof_flags}"
          ;;
        --inuse-objects)
          shift
          requested_profiles="mem ${requested_profiles}"
          mem_pprof_flags="inuse_objects ${mem_pprof_flags}"
          ;;
        --alloc-space)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 17 06:47:05 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    				if value != "java" {
    					return nil, errUnrecognized
    				}
    			case "heap/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "inuse_objects", Unit: "count"},
    					{Type: "inuse_space", Unit: value},
    				}
    			case "contention/resolution":
    				p.SampleType = []*ValueType{
    					{Type: "contentions", Unit: "count"},
    					{Type: "delay", Unit: value},
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. src/internal/profile/profile.go

    	dropFramesX        int64
    	keepFramesX        int64
    	stringTable        []string
    	defaultSampleTypeX int64
    }
    
    // ValueType corresponds to Profile.ValueType
    type ValueType struct {
    	Type string // cpu, wall, inuse_space, etc
    	Unit string // seconds, nanoseconds, bytes, etc
    
    	typeX int64
    	unitX int64
    }
    
    // Sample corresponds to Profile.Sample
    type Sample struct {
    	Location []*Location
    	Value    []int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof.go

    //
    // The heap profile tracks both the allocation sites for all live objects in
    // the application memory and for all objects allocated since the program start.
    // Pprof's -inuse_space, -inuse_objects, -alloc_space, and -alloc_objects
    // flags select which to display, defaulting to -inuse_space (live objects,
    // scaled by size).
    //
    // # Allocs profile
    //
    // The allocs profile is the same as the heap profile but changes the default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	dropFramesX        int64
    	keepFramesX        int64
    	stringTable        []string
    	defaultSampleTypeX int64
    }
    
    // ValueType corresponds to Profile.ValueType
    type ValueType struct {
    	Type string // cpu, wall, inuse_space, etc
    	Unit string // seconds, nanoseconds, bytes, etc
    
    	typeX int64
    	unitX int64
    }
    
    // Sample corresponds to Profile.Sample
    type Sample struct {
    	Location []*Location
    	Value    []int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top