Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,064 for increments (0.34 sec)

  1. operator/pkg/metrics/utils.go

    	"istio.io/istio/operator/pkg/name"
    )
    
    // CountCRMergeFail increments the count of CR merge failure
    // for the given merge error type.
    func CountCRMergeFail(reason MergeErrorType) {
    	CRMergeFailureTotal.
    		With(MergeErrorLabel.Value(string(reason))).
    		Increment()
    }
    
    // CountManifestRenderError increments the count of manifest
    // render errors.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 20 18:48:20 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  2. src/runtime/testdata/testfaketime/faketime.go

    // dependencies.
    
    package main
    
    import (
    	"os"
    	"time"
    )
    
    func main() {
    	println("line 1")
    	// Stream switch, increments time
    	os.Stdout.WriteString("line 2\n")
    	os.Stdout.WriteString("line 3\n")
    	// Stream switch, increments time
    	os.Stderr.WriteString("line 4\n")
    	// Time jump
    	time.Sleep(1 * time.Second)
    	os.Stdout.WriteString("line 5\n")
    	// Print the current time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 04 17:56:53 UTC 2019
    - 732 bytes
    - Viewed (0)
  3. src/cmd/internal/telemetry/telemetry.go

    }
    
    // CountFlags creates a counter for every flag that is set
    // and increments the counter. The name of the counter is
    // the concatenation of prefix and the flag name.
    func CountFlags(prefix string, flagSet flag.FlagSet) {
    	counter.CountFlags(prefix, flagSet)
    }
    
    // CountFlagValue creates a counter for the flag value
    // if it is set and increments the counter. The name of the
    // counter is the concatenation of prefix, the flagName, ":",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go

    	cel.MatcherMetrics
    }
    
    type NoopAuthorizerMetrics struct {
    	NoopRequestMetrics
    	NoopWebhookMetrics
    	cel.NoopMatcherMetrics
    }
    
    type RequestMetrics interface {
    	// RecordRequestTotal increments the total number of requests for the webhook authorizer
    	RecordRequestTotal(ctx context.Context, code string)
    
    	// RecordRequestLatency measures request latency in seconds for webhooks. Broken down by status code.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/envoyfilter/monitoring.go

    		}),
    	)
    )
    
    var (
    	envoyFilterStatusMap = map[string]map[string]bool{} // Map of Envoy filter name, patch and status.
    	envoyFilterMutex     sync.RWMutex
    )
    
    // IncrementEnvoyFilterMetric increments filter metric.
    func IncrementEnvoyFilterMetric(name string, pt PatchType, applied bool) {
    	if !features.EnableEnvoyFilterMetrics {
    		return
    	}
    	envoyFilterMutex.Lock()
    	defer envoyFilterMutex.Unlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/internal/time/MockClock.java

        public MockClock() {
            this(System.currentTimeMillis());
        }
    
        public MockClock(long startTime) {
            current = startTime;
        }
    
        public void increment(long diff) {
            current += diff;
        }
    
        /** Increments the time by 10ms and returns it. */
        @Override
        public long getCurrentTime() {
            current += 10L;
            return current;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 03:50:47 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/counter/counter.go

    // info, the "flag:"+flagName counter will be incremented.
    //
    // CountCommandLineFlags must be called after flags are parsed
    // with flag.Parse.
    //
    // For instance, if the -S flag is passed to cmd/compile and
    // CountCommandLineFlags is called after flags are parsed,
    // the "compile/flag:S" counter will be incremented.
    func CountCommandLineFlags() {
    	prefix := "flag:"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 18:02:34 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/peerproxy/metrics/metrics.go

    		},
    		[]string{statuscode},
    	)
    )
    
    func Register() {
    	registerMetricsOnce.Do(func() {
    		legacyregistry.MustRegister(peerProxiedRequestsTotal)
    	})
    }
    
    // IncPeerProxiedRequest increments the # of proxied requests to peer kube-apiserver
    func IncPeerProxiedRequest(ctx context.Context, status string) {
    	peerProxiedRequestsTotal.WithContext(ctx).WithLabelValues(status).Add(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/proxy/metrics/metrics.go

    	registerMetricsOnce.Do(func() {
    		legacyregistry.MustRegister(streamTranslatorRequestsTotal)
    	})
    }
    
    func ResetForTest() {
    	streamTranslatorRequestsTotal.Reset()
    }
    
    // IncStreamTranslatorRequest increments the # of requests handled by the StreamTranslatorProxy.
    func IncStreamTranslatorRequest(ctx context.Context, status string) {
    	streamTranslatorRequestsTotal.WithContext(ctx).WithLabelValues(status).Add(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compilation_profiler.h

      // Registers a cluster execution. Increments the execution count for the given
      // cluster and also determines whether the cluster has gone megamorphic (and
      // sets the megamorphic bit accordingly).
      void RegisterExecution(const NameAttrList& function);
    
      // Registers a cluster compilation. Increments the compilation count and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top