Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for sample2 (0.26 sec)

  1. src/runtime/pprof/protomem.go

    }
    
    // scaleHeapSample adjusts the data from a heap Sample to
    // account for its probability of appearing in the collected
    // data. heap profiles are a sampling of the memory allocations
    // requests in a program. We estimate the unsampled value by dividing
    // each collected sample by its probability of appearing in the
    // profile. heap profiles rely on a poisson process to determine
    // which samples to collect, based on the desired average collection
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/runtime/pprof/protomem_test.go

    	const expectedLocationNewInliner = "runtime/pprof.TestGenericsInlineLocations;" + expectedLocation
    	var s *profile.Sample
    	for _, sample := range p.Sample {
    		if sampleToString(sample) == expectedSample {
    			s = sample
    			break
    		}
    	}
    	if s == nil {
    		t.Fatalf("expected \n%s\ngot\n%s", expectedSample, strings.Join(profileToStrings(p), "\n"))
    	}
    	loc := s.Location[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)
  3. src/runtime/cpuprof.go

    	// header and stack of each sample, measured in 64-bit words. Every sample
    	// has a required header of two words. With a small additional header (a
    	// word or two) and stacks at the profiler's maximum length of 64 frames,
    	// that capacity can support 1900 samples or 19 thread-seconds at a 100 Hz
    	// sample rate, at a cost of 1 MiB.
    	profBufWordCount = 1 << 17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/README.md

    # Grafana Dashboards
    
    This folder contains Istio's official Grafana dashboards.
    These get publish to [Grafana](https://grafana.com/orgs/istio/dashboards) during release, and are bundled into our
    [Grafana sample](../../../samples/addons/grafana.yaml).
    
    ## Jsonnet
    
    Newer dashboards are generated with [Jsonnet](https://jsonnet.org/) with the [Grafonnet](https://grafana.github.io/grafonnet/index.html).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 815 bytes
    - Viewed (0)
  5. samples/bookinfo/platform/kube/bookinfo.yaml

    #
    # To apply all 4 Bookinfo services, their corresponding service accounts, and deployments:
    #
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
    #
    # Alternatively, you can deploy any resource separately:
    #
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l service=reviews # reviews Service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. samples/bookinfo/platform/kube/bookinfo-dualstack.yaml

    #
    # To apply all 4 Bookinfo services, their corresponding service accounts, and deployments:
    #
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml
    #
    # Alternatively, you can deploy any resource separately:
    #
    #   kubectl apply -f samples/bookinfo/platform/kube/bookinfo.yaml -l service=reviews # reviews Service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. src/internal/trace/parser.go

    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    // Verbatim copy from src/runtime/trace.go with the "trace" prefix removed.
    const (
    	EvNone              = 0  // unused
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    	if err != nil {
    		return fmt.Errorf("period type: %v", err)
    	}
    
    	// Identify common sample types
    	numSampleTypes := len(profiles[0].SampleType)
    	for _, p := range profiles[1:] {
    		if numSampleTypes != len(p.SampleType) {
    			return fmt.Errorf("inconsistent samples type count: %d != %d", numSampleTypes, len(p.SampleType))
    		}
    	}
    	sampleType := make([]*profile.ValueType, numSampleTypes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_list_direct_work.txt

    -- go.work --
    go 1.23
    
    use ./a
    use ./b
    -- a/go.mod --
    module example.com/a
    
    go 1.23
    
    require rsc.io/sampler v1.2.1
    
    require golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
    -- a/a.go --
    package a
    
    import "rsc.io/sampler"
    
    func A() string {
        return sampler.Hello()
    }
    -- b/go.mod --
    module example.com/b
    
    go 1.23
    
    // The indrect comment below is inaccurate. Its purpose
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/cpu-profile.go

    			case "runtime._System", "runtime._GC", "runtime._ExternalCode", "runtime._VDSO":
    				continue
    			}
    			stack := strings.Join(fns, "|")
    			samples := int(s.Value[0])
    			pprofStacks[stack] += samples
    		}
    	}
    	for stack, samples := range pprofStacks {
    		fmt.Fprintf(os.Stderr, "%s\t%d\n", stack, samples)
    	}
    }
    
    func cpuHogger(f func(x int) int, y *int, dur time.Duration) {
    	// We only need to get one 100 Hz clock tick, so we've got
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top