Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,140 for spent (0.05 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java

            }
            message.append("]");
    
            return message.toString();
        }
    
        /**
         * 0-100, the percentage of time spent on doing the work vs time spent in gc
         */
        private int getCurrentPerformance() {
            long collectionTime = gcInfo.getCollectionTime();
            long allBuildsTime = runningStats.getAllBuildsTime();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionInfo.java

    package org.gradle.launcher.daemon.server.health.gc;
    
    import java.lang.management.GarbageCollectorMXBean;
    import java.lang.management.ManagementFactory;
    
    public class GarbageCollectionInfo {
        /**
         * Approx. time spent in gc. See {@link GarbageCollectorMXBean}
         */
        public long getCollectionTime() {
            long garbageCollectionTime = 0;
            for (GarbageCollectorMXBean gc : ManagementFactory.getGarbageCollectorMXBeans()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/work/ProjectLockStatisticsIntegrationTest.groovy

            when:
            executer.withArguments("--parallel", "-D${DefaultWorkerLeaseService.PROJECT_LOCK_STATS_PROPERTY}")
            succeeds(":wait", ":child:blocked")
    
            then:
            result.assertHasPostBuildOutput("Time spent waiting on project locks")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/trace/pprof.go

    // IO wait, currently only network blocking event).
    func computePprofIO() computePprofFunc {
    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    		return reason == "network"
    	})
    }
    
    // computePprofBlock returns a computePprofFunc that generates blocking pprof-like profile
    // (time spent blocked on synchronization primitives).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/runtime/os_darwin.go

    	for {
    		if mp.count > 0 {
    			mp.count--
    			pthread_mutex_unlock(&mp.mutex)
    			return 0
    		}
    		if ns >= 0 {
    			spent := nanotime() - start
    			if spent >= ns {
    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    			}
    			var t timespec
    			t.setNsec(ns - spent)
    			err := pthread_cond_timedwait_relative_np(&mp.cond, &mp.mutex, &t)
    			if err == _ETIMEDOUT {
    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/metrics.go

    }
    
    func init() {
    	legacyregistry.MustRegister(Metrics.(*validationMetrics).RatchetingTime)
    }
    
    type validationMetrics struct {
    	RatchetingTime *metrics.Histogram
    }
    
    // ObserveRatchetingTime records the time spent on ratcheting
    func (m *validationMetrics) ObserveRatchetingTime(d time.Duration) {
    	m.RatchetingTime.Observe(d.Seconds())
    }
    
    // Reset resets the metrics. This is meant to be used for testing. Panics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:57:34 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go

    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "jwt_authenticator_latency_seconds",
    			Help:           "Latency of jwt authentication operations in seconds. This is the time spent authenticating a token for cache miss only (i.e. when the token is not found in the cache).",
    			StabilityLevel: metrics.ALPHA,
    			// default histogram buckets with a 1ms starting point
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/runtime/mgclimit.go

    // utilization without hurting throughput.
    //
    // Note that the bucket in the leaky bucket mechanism can never go negative,
    // so the GC never gets credit for a lot of CPU time spent without the GC
    // running. This is intentional, as an application that stays idle for, say,
    // an entire day, could build up enough credit to fail to prevent a death
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration.go

    	}
    	return d2
    }
    
    // DurationTracker is a simple interface for tracking functions duration,
    // it is safe for concurrent use by multiple goroutines.
    type DurationTracker interface {
    	// Track measures time spent in the given function f and
    	// aggregates measured duration using aggregateFunction.
    	// if Track is invoked with f from multiple goroutines concurrently,
    	// then f must be safe to be invoked concurrently by multiple goroutines.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 13 22:15:37 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top