Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 163 for Percentage (0.15 sec)

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

    	sv := strings.TrimSuffix(fmt.Sprintf("%.2f", v), ".00")
    	if sv == "0" || sv == "-0" {
    		return "0"
    	}
    	return sv + u
    }
    
    // Percentage computes the percentage of total of a value, and encodes
    // it as a string. At least two digits of precision are printed.
    func Percentage(value, total int64) string {
    	var ratio float64
    	if total != 0 {
    		ratio = math.Abs(float64(value)/float64(total)) * 100
    	}
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. pkg/config/validation/validation_test.go

    			},
    		}, valid: false},
    		{name: "valid percentage", in: &networking.HTTPFaultInjection_Abort{
    			Percentage: &networking.Percent{
    				Value: 0.001,
    			},
    			ErrorType: &networking.HTTPFaultInjection_Abort_HttpStatus{
    				HttpStatus: 200,
    			},
    		}, valid: true},
    		{name: "invalid fractional percent", in: &networking.HTTPFaultInjection_Abort{
    			Percentage: &networking.Percent{
    				Value: -10.0,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    message RollingUpdateDaemonSet {
      // The maximum number of DaemonSet pods that can be unavailable during the
      // update. Value can be an absolute number (ex: 5) or a percentage of total
      // number of DaemonSet pods at the start of the update (ex: 10%). Absolute
      // number is calculated from percentage by rounding up.
      // This cannot be 0 if MaxSurge is 0
      // Default value is 1.
      // Example: when this is set to 30%, at most 30% of the total number of nodes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1beta2/generated.proto

    message RollingUpdateDaemonSet {
      // The maximum number of DaemonSet pods that can be unavailable during the
      // update. Value can be an absolute number (ex: 5) or a percentage of total
      // number of DaemonSet pods at the start of the update (ex: 10%). Absolute
      // number is calculated from percentage by rounding up.
      // This cannot be 0 if MaxSurge is 0
      // Default value is 1.
      // Example: when this is set to 30%, at most 30% of the total number of nodes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/metrics.go

    )
    
    var (
    	zoneHealth = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      nodeControllerSubsystem,
    			Name:           zoneHealthStatisticKey,
    			Help:           "Gauge measuring percentage of healthy nodes per zone.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"zone"},
    	)
    	zoneSize = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      nodeControllerSubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 21:55:34 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/least_allocated.go

    package noderesources
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    // leastResourceScorer favors nodes with fewer requested resources.
    // It calculates the percentage of memory, CPU and other resources requested by pods scheduled on the node, and
    // prioritizes based on the minimum of the average of the fraction of requested to capacity.
    //
    // Details:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 12 01:50:09 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route.go

    		return nil
    	}
    
    	out := xdshttpfault.HTTPFault{}
    	if in.Delay != nil {
    		out.Delay = &xdsfault.FaultDelay{}
    		if in.Delay.Percentage != nil {
    			out.Delay.Percentage = translatePercentToFractionalPercent(in.Delay.Percentage)
    		} else {
    			out.Delay.Percentage = translateIntegerToFractionalPercent(in.Delay.Percent) // nolint: staticcheck
    		}
    		switch d := in.Delay.HttpDelayType.(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      int non_converted_ops = total_ops_ - converted_ops;
      float percentage =
          (static_cast<float>(non_converted_ops) / static_cast<float>(total_ops_)) *
          100.0;
      // Non-Converted Ops: 25, Total Ops 100, % non-converted = 25%
      *os_ << absl::StrFormat(
          "\n * Non-Converted Ops: %d, Total Ops %d, %% non-converted = %.2f %%",
          non_converted_ops, total_ops_, percentage);
    
      *os_ << "\n * ";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/cidrset/metrics.go

    		},
    		[]string{"clusterCIDR"},
    	)
    	cidrSetUsage = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      nodeIpamSubsystem,
    			Name:           "cidrset_usage_cidrs",
    			Help:           "Gauge measuring percentage of allocated CIDRs.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"clusterCIDR"},
    	)
    	cidrSetAllocationTriesPerRequest = metrics.NewHistogramVec(
    		&metrics.HistogramOpts{
    			Subsystem:      nodeIpamSubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 05 15:18:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. pkg/scheduler/schedule_one.go

    	var percentage int32
    	if percentageOfNodesToScore != nil {
    		percentage = *percentageOfNodesToScore
    	} else {
    		percentage = sched.percentageOfNodesToScore
    	}
    
    	if percentage == 0 {
    		percentage = int32(50) - numAllNodes/125
    		if percentage < minFeasibleNodesPercentageToFind {
    			percentage = minFeasibleNodesPercentageToFind
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top