Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for sample_2 (3.3 sec)

  1. src/internal/trace/generation.go

    // (indicating that the batch contains only CPU samples) and adds each
    // sample contained therein to the provided samples list.
    func addCPUSamples(samples []cpuSample, b batch) ([]cpuSample, error) {
    	if !b.isCPUSamplesBatch() {
    		return nil, fmt.Errorf("internal error: addCPUSamples called on non-CPU-sample batch")
    	}
    	r := bytes.NewReader(b.data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/tracing.go

    	}
    
    	// provider.sampler > telemetry.RandomSamplingPercentage > defaultConfig.tracing.sampling > PILOT_TRACE_SAMPLING
    	var sampling float64
    	if useCustomSampler {
    		// If the TracingProvider has a custom sampler (OTel Sampler)
    		// the sampling percentage is set to 100% so all spans arrive at the sampler for its decision.
    		sampling = 100
    	} else if spec.RandomSamplingPercentage != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/runtime/metrics_test.go

    	descs := metrics.All()
    	var samples [2][]metrics.Sample
    	samples[0] = make([]metrics.Sample, len(descs))
    	samples[1] = make([]metrics.Sample, len(descs))
    	total := 0
    	for i := range samples[0] {
    		if !descs[i].Cumulative {
    			continue
    		}
    		samples[0][total].Name = descs[i].Name
    		total++
    	}
    	samples[0] = samples[0][:total]
    	samples[1] = samples[1][:total]
    	copy(samples[1], samples[0])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. platforms/documentation/docs/build.gradle

                excludeTestsMatching "org.gradle.docs.samples.*.building-swift*.sample"
                // We don't have Android SDK installed on mac M1 now
                excludeTestsMatching "org.gradle.docs.samples.*.building-android-*.sample"
                excludeTestsMatching "org.gradle.docs.samples.*.structuring-software-projects*android-app.sample"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/tracing_test.go

    								Value: "custom-value",
    							},
    							AppendAction: core.HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD,
    						},
    					},
    				},
    				Sampler: &core.TypedExtensionConfig{
    					Name: "envoy.tracers.opentelemetry.samplers.dynatrace",
    					TypedConfig: protoconv.MessageToAny(&otelsamplers.DynatraceSamplerConfig{
    						Tenant:             tc.dtTenant,
    						ClusterId:          tc.dtClusterID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  6. releasenotes/notes/dynatrace-sampler.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    issue:
    - 50001
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 20:27:07 UTC 2024
    - 196 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

            sample_proto = _RepresentativeDataSample.FromString(
                sample_bytes.numpy()
            )
            sample = {}
            for input_key, tensor_proto in sample_proto.tensor_proto_inputs.items():
              sample[input_key] = tensor_util.MakeNdarray(tensor_proto)
            samples.append(sample)
        return samples
    
      def load(self) -> RepresentativeDatasetMapping:
        """Loads the representative datasets.
    
        Returns:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    			}
    			// All samples should point to one location.
    			var gotSamples []*profile.Sample
    			for _, sample := range p.Sample {
    				var locs []*profile.Location
    				for _, loc := range sample.Location {
    					locs = append(locs, &profile.Location{ID: loc.ID})
    				}
    				gotSamples = append(gotSamples, &profile.Sample{Value: sample.Value, Location: locs})
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top