Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,351 for round (0.1 sec)

  1. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	if ts != nil {
    		tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    		cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    		m.Set(sysCPUUser, cpuUserVal)
    		cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    		m.Set(sysCPUSystem, cpuSystemVal)
    		cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    	resourceMetricsMapMu.Lock()
    	defer resourceMetricsMapMu.Unlock()
    	subsysMetrics, found := resourceMetricsMap[subSys]
    	if !found {
    		subsysMetrics = ResourceMetrics{}
    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/queries.libsonnet

    local g = import './g.libsonnet';
    local q = g.query.prometheus;
    
    local query = import './lib-query.libsonnet';
    local sum = query.sum;
    local rate = query.rate;
    local irate = query.irate;
    local labels = query.labels;
    local round = query.round;
    local quantile = query.quantile;
    
    local variables = import './variables.libsonnet';
    
    {
      queries(names):
        local containerLabels = { container: names.container, pod: '~' + names.pod };
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/lib-query.libsonnet

        else
          'sum by (%s) (%s)' % [std.join(',', by), query],
      irate(query):
        'irate(%s[$__rate_interval])' % query,
      rate(query):
        'rate(%s[$__rate_interval])' % query,
      round(query, by=0.01):
        'round(%s, %s)' % [query, by],
      quantile(quantile, query):
        'histogram_quantile(%s, %s)' %[quantile, query],
      labels(metric_name, labels):
        // One can nest locals.
        // Every local ends with a semi-colon.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            if (unit == ScaleUnit.BYTE) {
                builder.append(size);
            } else if (scaledSize < 0.05d || scaledSize >= 10.0d) {
                builder.append(Math.round(scaledSize));
            } else {
                builder.append(Math.round(scaledSize * 10d) / 10d);
            }
    
            if (!omitSymbol) {
                builder.append(" ").append(unit.symbol());
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. utils/tests/utils.go

    				format := "2006-01-02T15:04:05Z07:00"
    
    				if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) {
    					t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime)
    				}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/DoubleUtils.java

        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/DoubleUtils.java

        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-iam.go

    	pluginAuthnServiceSuccMaxRttMsMinuteMD   = NewCounterMD(pluginAuthnServiceSuccMaxRttMsMinute, "When plugin authentication is configured, returns maximum round-trip-time of successful requests in the last full minute")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-service-dashboard.json

          },
          "pluginVersion": "10.1.5",
          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${datasource}"
              },
              "expr": "round(sum(irate(istio_requests_total{reporter=~\"$qrep\",destination_service=~\"$service\"}[5m])), 0.001)",
              "format": "time_series",
              "intervalFactor": 1,
              "refId": "A",
              "step": 4
            }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
Back to top